stable

Clone or download

Read-only

request #14457 Delete an artifact should delete attached files

Actualy, if we delete an artifact, the attached files are keept. they must be deleted too. How to test : - add attachment on a artifact and delete the artifact --> before the change : file is keept on filesystem --> with the patch : file is deleted from filesystem path to the files : /var/lib/tuleap/<field_id> Change-Id: Ic4cd359241f68ada2076d878f2a55bbdcd332739

Modified Files

Name
M plugins/tracker/include/Tracker/Artifact/ArtifactsDeletion/ArtifactDependenciesDeletor.php +9 −2 Go to diff View file
A plugins/tracker/include/Tracker/Artifact/ArtifactsDeletion/ArtifactFilesDeletorVisitor.php +191 −0 Go to diff View file
A plugins/tracker/phpunit/Tracker/Artifact/ArtifactsDeletion/ArtifactFilesDeletorVisitorTest.php +72 −0 Go to diff View file