stable

Clone or download

Read-only

DELETE docman_type/id should delete, not purge documents

part of story #12452 Delete folder/items How to test: - for each existing delete routes types (embedded, files, wiki, link): you should be able to delete and restore item with new UI - error and success messages should still be displayed in legacy UI (I have a bug on master, for every single wiki page, I always have error + success message, I'll deal with this case in a dedicated commit) Change-Id: I09f375b97c4e1dc7b15e2d5156e64c244c109401

Modified Files

Name
A plugins/docman/include/DeleteFailedException.php +85 −0 Go to diff View file
M plugins/docman/include/Docman_Actions.class.php +22 −10 Go to diff View file
M plugins/docman/include/Docman_ActionsDeleteVisitor.class.php +42 −26 Go to diff View file
M plugins/docman/include/Docman_ItemFactory.class.php +15 −6 Go to diff View file
M plugins/docman/include/REST/v1/DocmanEmbeddedFilesResource.php +10 −11 Go to diff View file
M plugins/docman/include/REST/v1/DocmanFilesResource.php +10 −10 Go to diff View file
M plugins/docman/include/REST/v1/DocmanLinksResource.php +10 −10 Go to diff View file
M plugins/docman/include/REST/v1/DocmanWikiResource.php +8 −13 Go to diff View file
M plugins/docman/site-content/fr_FR/LC_MESSAGES/tuleap-docman.po +0 −3 Go to diff View file