stable

Clone or download

Read-only

request #13756 Status must be inherited from parent

How to test: - on a project with activated metadata status, drag and drop a new file or create a new item from API without providing status key => status is inherited from parent - on a project without status, drag and drop a new file => status is not inherited Change-Id: I20d2a032482a3f728c1ec58ac8c57e4219a21bbb

Modified Files

Name
M plugins/docman/include/REST/v1/DocmanItemCreator.php +2 −2 Go to diff View file
M plugins/docman/include/REST/v1/EmbeddedFiles/DocmanEmbeddedPOSTRepresentation.php +1 −1 Go to diff View file
M plugins/docman/include/REST/v1/Files/DocmanPOSTFilesRepresentation.php +1 −1 Go to diff View file
M plugins/docman/include/REST/v1/Folders/DocmanEmptyPOSTRepresentation.php +1 −1 Go to diff View file
M plugins/docman/include/REST/v1/Folders/DocmanFolderPOSTRepresentation.php +1 −1 Go to diff View file
M plugins/docman/include/REST/v1/Links/DocmanLinkPOSTRepresentation.php +1 −1 Go to diff View file
M plugins/docman/include/REST/v1/Metadata/ItemStatusMapper.php +49 −6 Go to diff View file
M plugins/docman/include/REST/v1/Wiki/DocmanWikiPOSTRepresentation.php +1 −1 Go to diff View file
M plugins/docman/phpunit/REST/v1/DocmanItemCreatorTest.php +14 −13 Go to diff View file
M plugins/docman/phpunit/REST/v1/Metadata/ItemStatusMapperTest.php +65 −3 Go to diff View file