stable

Clone or download

Read-only

Save modale should store links in database

This is a part of story #12447 Modal new document for empty/wiki/link The link created and its version are now store in the database. How to test : - Go to the new document UI - Click on 'New document' - Choose the link type - Fill the fields - click on 'Create document' The modale should be closed and the new link is displayed. NB: You can also test this feature with the API explorer Change-Id: I1554dd5a039783c57c8e95c122dffacd54b37ab7

Modified Files

Name
M plugins/docman/include/Docman_ItemFactory.class.php +5 −4 Go to diff View file
M plugins/docman/include/REST/v1/AfterItemCreationVisitor.php +22 −6 Go to diff View file
M plugins/docman/include/REST/v1/DocmanItemCreator.php +66 −6 Go to diff View file
M plugins/docman/include/REST/v1/DocmanItemPOSTRepresentation.php +6 −2 Go to diff View file
M plugins/docman/include/REST/v1/DocmanItemsResource.php +32 −13 Go to diff View file
A plugins/docman/include/REST/v1/LinkPropertiesPOSTRepresentation.php +30 −0 Go to diff View file
M plugins/docman/phpunit/REST/v1/DocmanItemCreatorTest.php +79 −6 Go to diff View file
M plugins/docman/site-content/fr_FR/LC_MESSAGES/tuleap-docman.po +3 −0 Go to diff View file
M plugins/docman/site-content/tuleap-docman.pot +3 −0 Go to diff View file
M plugins/docman/tests/rest/Docman/DocmanItemsTest.php +50 −1 Go to diff View file