stable

Clone or download

Read-only

Error when file has an approbation table

Part of: story #12458 DnD on an existing file creates a new version How to test: - Create an approbation table for a given file (and make sure it is open). - Try to upload a new version of this file using DN'D --> You get an error saying this document is requested to be approved. Change-Id: I57e3032ee643714e41e35c2be6f9deedfc05cb8f

Modified Files

Name
A plugins/docman/include/ApprovalTable/ApprovalTableStateMapper.php +53 −0 Go to diff View file
M plugins/docman/include/REST/v1/DocmanItemsResource.php +4 −1 Go to diff View file
A plugins/docman/include/REST/v1/ItemApprovalTableRepresentation.php +58 −0 Go to diff View file
M plugins/docman/include/REST/v1/ItemRepresentation.php +7 −0 Go to diff View file
M plugins/docman/include/REST/v1/ItemRepresentationBuilder.php +49 −9 Go to diff View file
M plugins/docman/include/docmanPlugin.class.php +4 −1 Go to diff View file
M plugins/docman/phpunit/REST/v1/ItemRepresentationBuilderTest.php +41 −6 Go to diff View file
M plugins/docman/phpunit/REST/v1/ItemRepresentationCollectionBuilderTest.php +2 −2 Go to diff View file
M plugins/docman/site-content/fr_FR/LC_MESSAGES/tuleap-docman.po +16 −1 Go to diff View file
A plugins/document/scripts/document/components/Folder/DragNDrop/DocumentNeedsApprovalErrorModal.vue +58 −0 Go to diff View file
M plugins/document/scripts/document/components/Folder/DragNDrop/DragNDropHandler.vue +21 −2 Go to diff View file
M plugins/document/scripts/document/po/fr.po +17 −0 Go to diff View file