stable

Clone or download

Read-only

request #12317 Cannot delete an artifact in some large project due to Gateway error

This patch extract the archive of tracker structure and artifact in a system event (instead of doing it in a simple event). How to test: - Delete an existing artifact => it should no more be visible in report/api/agiledashbaord - As site administrator go check system event panel => A dedicated event have been created => it should end without error Change-Id: I80359573ec157e1425774dc683ac794ecb1903d7

Modified Files

Name
M plugins/tracker/db/install.sql +3 −0 Go to diff View file
A plugins/tracker/db/mysql/updates/2018/201809241410_add_pending_artifact_removal_table.php +39 −0 Go to diff View file
M plugins/tracker/db/uninstall.sql +2 −1 Go to diff View file
A plugins/tracker/include/Tracker/Artifact/ArtifactsDeletion/ArchiveAndDeleteArtifactTask.php +93 −0 Go to diff View file
A plugins/tracker/include/Tracker/Artifact/ArtifactsDeletion/ArchiveAndDeleteArtifactTaskBuilder.php +113 −0 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/ArtifactsDeletion/ArtifactDeletor.php +13 −93 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/ArtifactsDeletion/ArtifactDeletorBuilder.php +8 −67 Go to diff View file
A plugins/tracker/include/Tracker/Artifact/ArtifactsDeletion/ArtifactDependenciesDeletor.php +96 −0 Go to diff View file
A plugins/tracker/include/Tracker/Artifact/ArtifactsDeletion/AsynchronousArtifactsDeletionActionsRunner.php +101 −0 Go to diff View file
A plugins/tracker/include/Tracker/Artifact/ArtifactsDeletion/PendingArtifactRemovalDao.php +51 −0 Go to diff View file
M plugins/tracker/include/trackerPlugin.class.php +20 −6 Go to diff View file
M plugins/tracker/phpunit/Tracker/Artifact/ArtifactsDeletion/ArtifactDeletorTest.php +28 −70 Go to diff View file
M plugins/tracker/tests/rest/ArtifactsActions/ArtifactsActionsTest.php +5 −3 Go to diff View file