stable

Clone or download

Read-only

Delete an empty document

part of: story #12452 Delete folder/items How to test: - In the API explorer --> You get an error if the empty doc is locked by another user --> You get an error if you haven't enough permissions to delete it - In the UI --> You can delete an empty doc --> Post deletion notification shown after deletion Change-Id: If10ec4a9824696859d1b47e7d5cd742bc616e5cc

Modified Files

Name
M plugins/docman/include/REST/ResourcesInjector.php +13 −6 Go to diff View file
A plugins/docman/include/REST/v1/DocmanEmptyDocumentsResource.php +109 −0 Go to diff View file
A plugins/docman/tests/rest/Docman/DocmanItemsTestEmptyDocumentsTest.php +155 −0 Go to diff View file
M plugins/docman/tests/rest/DocmanDataBuilder.php +22 −0 Go to diff View file
M plugins/document/scripts/document/api/rest-querier.js +6 −0 Go to diff View file
M plugins/document/scripts/document/components/Folder/ActionsQuickLookButton/QuickLookDeleteButton.spec.js +1 −25 Go to diff View file
M plugins/document/scripts/document/components/Folder/ActionsQuickLookButton/QuickLookDeleteButton.vue +0 −18 Go to diff View file
M plugins/document/scripts/document/components/UnderConstructionModal.vue +0 −1 Go to diff View file
M plugins/document/scripts/document/po/fr.po +0 −3 Go to diff View file
M plugins/document/scripts/document/store/actions.js +4 −0 Go to diff View file
M plugins/document/scripts/document/store/actions.spec.js +26 −3 Go to diff View file