stable
Clone or download
Read-only
part story #12458 DnD on an existing file creates a new version how to test: - have $enable_patch_item_route = 1; - have a document locked by an user - try PATCH route on this item with an other user => exception should be raised - else feature still throw a 501 for other cases Change-Id: I1df86d981a246e72facd323f7c5c7e4d11650c5c
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/docman/include/REST/v1/DocmanItemUpdator.php | +15 | −2 | Go to diff View file |
M | plugins/docman/include/REST/v1/DocmanItemsResource.php | +12 | −2 | Go to diff View file |
A | plugins/docman/include/REST/v1/ExceptionItemIsLockedByAnotherUser.php | +27 | −0 | Go to diff View file |
M | plugins/docman/phpunit/REST/v1/DocmanItemUpdatorTest.php | +26 | −2 | 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/tests/rest/Docman/DocmanItemsTest.php | +24 | −0 | Go to diff View file |
M | plugins/docman/tests/rest/DocmanDataBuilder.php | +11 | −0 | Go to diff View file |