stable

Clone or download

Read-only

Update the item representation for REST routes with embedded file

This is a part of the story #12444 Table : action on click This feature will be used later in the new docman to display the content of an embedded file How to test : - Make sure to have at least one embedded file in your docman - Go to the API Explorer and try with the route /docman_items/:id and/or /docman_items/:id/docman_items You should see the content of the embedded file at field 'content' Change-Id: I49f9fdadf0fdb3f3564233f0937a301b52254bad

Modified Files

Name
M plugins/docman/include/REST/v1/EmbeddedFilePropertiesRepresentation.php +7 −1 Go to diff View file
M plugins/docman/include/REST/v1/ItemRepresentationBuilder.php +1 −2 Go to diff View file
M plugins/docman/include/REST/v1/ItemRepresentationVisitor.php +3 −1 Go to diff View file
M plugins/docman/tests/rest/Docman/DocmanItemsTest.php +16 −1 Go to diff View file
M plugins/docman/tests/rest/DocmanDataBuilder.php +18 −7 Go to diff View file
A plugins/docman/tests/rest/_fixtures/docmanFile/embeddedFile +1 −0 Go to diff View file