stable

Clone or download

Read-only

Update the PATCH docman_wikis/: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: Ifbbf70463f21d27a8addcc29f199fc2dbeeb14cf

Modified Files

Name
M plugins/docman/include/REST/v1/DocmanWikiResource.php +44 −9 Go to diff View file
M plugins/docman/include/REST/v1/Wiki/DocmanWikiPATCHRepresentation.php +19 −0 Go to diff View file
M plugins/docman/include/REST/v1/Wiki/DocmanWikiUpdator.php +96 −15 Go to diff View file
M plugins/docman/tests/rest/Docman/DocmanItemsTestWikiTest.php +102 −0 Go to diff View file
M plugins/docman/tests/rest/docmanWithActivatedMetadata/DocmanHardcodedMetadataTest.php +240 −0 Go to diff View file