stable

Clone or download

Read-only

Add PUT docman_embedded_files/id/metadata

part of story #13463 Split PATCH docman_items_type/id route How to test: => If you try to update the obsolescence date or the status and if their metadata are not used, you will have an error => If you provide a bad owner_id => 400 => Else, the file is updated Change-Id: Ie1f59986c0af4ab1f8f1bca45306be98235f1458

Modified Files

Name
M plugins/docman/include/REST/v1/DocmanEmbeddedFilesResource.php +97 −9 Go to diff View file
M plugins/docman/include/REST/v1/DocmanFilesResource.php +6 −21 Go to diff View file
M plugins/docman/include/REST/v1/Metadata/MetadataUpdator.php +27 −9 Go to diff View file
M plugins/docman/tests/rest/Docman/DocmanEmbeddedTest.php +72 −1 Go to diff View file
M plugins/docman/tests/rest/Helper/DocmanEmbeddedDataBuild.php +36 −4 Go to diff View file
M plugins/docman/tests/rest/Helper/DocmanFileDataBuild.php +4 −11 Go to diff View file