stable

Clone or download

Read-only

Update the PATCH docman_embedded_files/:id route with the hardcoded metadata

This is a part of the story #12638 Add always there metadata date in new/update item modal How to test : - Go to the API Explorer - Try to update a wiki with hardcoded metadata => It should return an error if the metadata is not well formatted or unused => Else it should return 200 > You can see the result in the DB or directly via the quick look of the new UI Change-Id: I7127f2f902751654dbb8a8109a8160b7ca8f6b3b

Modified Files

Name
M plugins/docman/include/REST/v1/DocmanEmbeddedFilesResource.php +103 −12 Go to diff View file
M plugins/docman/include/REST/v1/EmbeddedFiles/DocmanEmbeddedFileUpdator.php +116 −11 Go to diff View file
M plugins/docman/include/REST/v1/EmbeddedFiles/DocmanEmbeddedFilesPATCHRepresentation.php +19 −3 Go to diff View file
M plugins/docman/tests/rest/Docman/DocmanItemsTestFilesEmbeddedTest.php +126 −1 Go to diff View file
M plugins/docman/tests/rest/docmanWithActivatedMetadata/DocmanHardcodedMetadataTest.php +260 −0 Go to diff View file
M plugins/document/scripts/document/api/rest-querier.js +2 −0 Go to diff View file