stable

Clone or download

Read-only

POST docman_link/id/version + deprecation warning

part of story #13463 Split PATCH docman_items_type/id route How to test: - verify that old PATCH route still works - you can use the new POST docman_links/id/version route - vue js app is up to date: when you create a new version of link, it calls the POST route link version creation should succeed Change-Id: I006ced62578eb2a1efd43f0b1da3921d678c7744

Modified Files

Name
M plugins/docman/include/REST/v1/DocmanLinksResource.php +193 −75 Go to diff View file
M plugins/docman/include/REST/v1/Links/DocmanLinkPATCHRepresentation.php +1 −26 Go to diff View file
R plugins/docman/include/REST/v1/Links/DocmanLinkUpdator.php Go to diff View file
A plugins/docman/include/REST/v1/Links/DocmanLinkVersionPOSTRepresentation.php +51 −0 Go to diff View file
R plugins/docman/phpunit/REST/v1/Links/DocmanLinkUpdatorTest.php Go to diff View file
M plugins/docman/tests/rest/Docman/DocmanLinksTest.php +270 −4 Go to diff View file
M plugins/docman/tests/rest/Helper/DocmanLinkDataBuild.php +101 −4 Go to diff View file
M plugins/document/scripts/document/api/rest-querier.js +3 −5 Go to diff View file
M plugins/document/scripts/document/api/rest-querier.spec.js +4 −3 Go to diff View file
M plugins/document/scripts/document/store/actions.js +2 −2 Go to diff View file
M plugins/document/scripts/document/store/actions.spec.js +7 −7 Go to diff View file