stable
Clone or download
Read-only
This is part of request #30358 Mirrored milestones link cannot be delete in the Tuleap UI The artifact update must be rejected if at least one artifact link of type ```_mirrored_milestone``` is deleted. How to test ----------- * Go to an artifact with at least one artifact link of type ```_mirrored_milestone``` * Mark this link for deletion and submit the artifact => The artifact update must be rejected (in both artifact UI and artifact modal). Note: The update of this kind of artifact link (i.e change from ```_mirrored_milestone``` type to another type) will be handled in a dedicated commit. Change-Id: Iaf78313aac3ec0fd98bf7deec5adb3b453cfd457
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/gitlab/include/gitlabPlugin.php | +4 | −2 | Go to diff View file |
A | plugins/program_management/include/Adapter/ArtifactLinks/DeletedArtifactLinksProxy.php | +58 | −0 | Go to diff View file |
A | plugins/program_management/include/Adapter/ArtifactLinks/LinkedArtifactDAO.php | +51 | −0 | Go to diff View file |
M | plugins/program_management/include/Adapter/Program/Backlog/AsynchronousCreation/IterationCreationProcessorBuilder.php | +2 | −1 | Go to diff View file |
M | plugins/program_management/include/Adapter/Program/Backlog/AsynchronousCreation/IterationUpdateProcessorBuilder.php | +2 | −1 | Go to diff View file |
M | plugins/program_management/include/Adapter/Program/Backlog/AsynchronousCreation/ProgramIncrementCreationProcessorBuilder.php | +2 | −1 | Go to diff View file |
M | plugins/program_management/include/Adapter/Program/Backlog/AsynchronousCreation/ProgramIncrementUpdateProcessorBuilder.php | +2 | −1 | Go to diff View file |
A | plugins/program_management/include/Domain/ArtifactLinks/DeletedArtifactLinksChecker.php | +49 | −0 | Go to diff View file |
A | plugins/program_management/include/Domain/ArtifactLinks/DeletedArtifactLinksEvent.php | +35 | −0 | Go to diff View file |
A | plugins/program_management/include/Domain/ArtifactLinks/SearchLinkedArtifacts.php | +30 | −0 | Go to diff View file |
M | plugins/program_management/include/program_managementPlugin.php | +18 | −1 | Go to diff View file |
M | plugins/program_management/site-content/fr_FR/LC_MESSAGES/tuleap-program_management.po | +5 | −0 | Go to diff View file |
M | plugins/program_management/site-content/pt_BR/LC_MESSAGES/tuleap-program_management.po | +4 | −0 | Go to diff View file |
M | plugins/taskboard/include/REST/v1/Card/CardPatcher.php | +2 | −1 | Go to diff View file |
M | plugins/taskboard/include/REST/v1/Cell/CardMappedFieldUpdater.php | +2 | −1 | Go to diff View file |
M | plugins/testmanagement/include/TestManagement/REST/v1/CampaignsResource.class.php | +2 | −1 | Go to diff View file |
M | plugins/testmanagement/include/TestManagement/REST/v1/ExecutionsResource.class.php | +2 | −1 | Go to diff View file |
M | plugins/tracker/include/REST/v1/ArtifactsResource.class.php | +2 | −1 | Go to diff View file |
M | plugins/tracker/include/Tracker/Artifact/Artifact.php | +2 | −1 | Go to diff View file |
M | plugins/tracker/include/Tracker/Artifact/Changeset/InitialChanagesetFieldsValidator.class.php | +2 | −1 | Go to diff View file |
M | plugins/tracker/include/Tracker/Artifact/XMLImportBuilder.class.php | +3 | −2 | Go to diff View file |
M | plugins/tracker/include/Tracker/FormElement/ArtifactLinkValidator.php | +29 | −25 | Go to diff View file |
A | plugins/tracker/include/Tracker/FormElement/Field/ArtifactLink/ValidateArtifactLinkValueEvent.php | +76 | −0 | Go to diff View file |
M | plugins/tracker/include/Tracker/Tracker.class.php | +2 | −1 | Go to diff View file |
M | plugins/tracker/include/trackerPlugin.php | +2 | −1 | Go to diff View file |
M | plugins/tracker/tests/unit/Tracker/FormElement/ArtifactLinkValidatorTest.php | +42 | −1 | Go to diff View file |