stable

Clone or download

Read-only

request #13624: Copy of a link should be visible in the history

When a link is copied, a first version is now created. The link items are not more in a corrupted state after a copy and we can know how the item has been created via the history. Change-Id: I8c6d73315a300d79c130503ec35157f59c267a56

Modified Files

Name
M plugins/docman/include/DestinationCloneItem.php +36 −9 Go to diff View file
M plugins/docman/include/Docman_Actions.class.php +1 −1 Go to diff View file
M plugins/docman/include/Docman_CloneItemsVisitor.class.php +60 −15 Go to diff View file
M plugins/docman/include/Docman_Controller.class.php +6 −1 Go to diff View file
M plugins/docman/include/REST/v1/CopyItem/DocmanItemCopier.php +15 −1 Go to diff View file
M plugins/docman/include/REST/v1/DocmanFoldersResource.php +5 −0 Go to diff View file
M plugins/docman/phpunit/DestinationCloneItemTest.php +31 −5 Go to diff View file
A plugins/docman/phpunit/Docman_CloneItemsVisitorTest.php +95 −0 Go to diff View file
M plugins/docman/phpunit/REST/v1/CopyItem/DocmanItemCopierTest.php +4 −0 Go to diff View file
M plugins/docman/site-content/en_US/docman.tab +0 −3 Go to diff View file
M plugins/docman/site-content/fr_FR/LC_MESSAGES/tuleap-docman.po +7 −0 Go to diff View file
M plugins/docman/site-content/fr_FR/docman.tab +0 −3 Go to diff View file
M plugins/docman/tests/CopyItemsTest.php +9 −6 Go to diff View file