stable

Clone or download

Read-only

request #13262 Fatal error is thrown if null is given to a document who has an approval table action

How to reproduce Have a document with an approval table Give the following representation in REST route: { "version_title": "string", "change_log": "string", "should_lock_file": true, "file_properties": { "file_name": "string", "file_size": 0 }, "approval_table_action": null } no fatal error should be thrown Change-Id: I8c483bb4ddeef85d94d884e9582f908274e47519

Modified Files

Name
M plugins/docman/include/ApprovalTable/ApprovalTableUpdateActionChecker.php +3 −3 Go to diff View file
M plugins/docman/include/REST/v1/DocmanItemUpdator.php +4 −2 Go to diff View file
M plugins/docman/include/REST/v1/EmbeddedFiles/DocmanEmbeddedFilesPATCHRepresentation.php +3 −3 Go to diff View file
M plugins/docman/include/REST/v1/Files/DocmanFilesPATCHRepresentation.php +3 −3 Go to diff View file
M plugins/docman/include/REST/v1/Links/DocmanLinkPATCHRepresentation.php +3 −3 Go to diff View file
M plugins/docman/include/Upload/Version/DocumentOnGoingVersionToUploadDAO.php +1 −1 Go to diff View file
M plugins/docman/include/Upload/Version/VersionToUploadCreator.php +1 −1 Go to diff View file
M plugins/docman/phpunit/ApprovalTable/ApprovalTableUpdateActionCheckerTest.php +2 −2 Go to diff View file