stable

Clone or download

Read-only

Do not display an error if the deleted wiki does not reference an actual wiki page

part of: story #13418 Finish DELETE routes How to test: --> In the old UI or REST API, If I delete a wiki which does not reference an actual wiki page, then I do not get an error when I check the "propagate to wiki service" checkbox N.B: To have a wiki which does not reference an actual wiki page, just give a wiki page name that does not exist in the creation UI Change-Id: I2813e77adb60348108a8e4e96e6b46c46923d8c7

Modified Files

Name
M plugins/docman/include/DeleteFailedException.php +9 −3 Go to diff View file
A plugins/docman/include/DocmanReferencedWikiPageRetriever.php +37 −0 Go to diff View file
M plugins/docman/include/Docman_ActionsDeleteVisitor.class.php +12 −47 Go to diff View file
A plugins/docman/include/DocumentDeletion/DocmanWikiDeletor.php +139 −0 Go to diff View file
A plugins/docman/phpunit/DocumentDeletion/DocmanWikiDeletorTest.php +234 −0 Go to diff View file
M plugins/docman/site-content/en_US/docman.tab +0 −1 Go to diff View file
M plugins/docman/site-content/fr_FR/LC_MESSAGES/tuleap-docman.po +9 −1 Go to diff View file
M plugins/docman/site-content/fr_FR/docman.tab +0 −1 Go to diff View file