stable

Clone or download

Read-only

Take account field dependencies and transition rules for semantic values

retriever Part of request #25353 Field dependencies and transitions rules are not check when the value is automatically selected This patch should fix it in kanban, close campaigns and close artifact from gitlab pushes. Change-Id: I3bcfab564643ce5fd01b56148711db44fae541fa

Modified Files

Name
M plugins/agiledashboard/include/AgileDashboard/REST/v1/Kanban/KanbanResource.php +63 −12 Go to diff View file
M plugins/gitlab/include/Repository/Webhook/PostPush/PostPushCommitArtifactUpdater.php +10 −5 Go to diff View file
M plugins/gitlab/include/Repository/Webhook/PostPush/PostPushWebhookActionProcessor.php +8 −0 Go to diff View file
M plugins/gitlab/include/Repository/Webhook/PostPush/PostPushWebhookCloseArtifactHandler.php +8 −0 Go to diff View file
M plugins/gitlab/include/gitlabPlugin.php +20 −5 Go to diff View file
M plugins/gitlab/tests/unit/Repository/Webhook/PostPush/PostPushCommitArtifactUpdaterTest.php +55 −33 Go to diff View file
M plugins/gitlab/tests/unit/Repository/Webhook/PostPush/PostPushWebhookCloseArtifactHandlerTest.php +207 −263 Go to diff View file
M plugins/testmanagement/include/TestManagement/Campaign/CloseCampaignController.php +23 −12 Go to diff View file
M plugins/testmanagement/include/TestManagement/Campaign/OpenCampaignController.php +23 −12 Go to diff View file
M plugins/testmanagement/include/TestManagement/Campaign/StatusUpdater.php +9 −2 Go to diff View file
M plugins/testmanagement/include/TestManagement/REST/v1/CampaignArtifactUpdateFieldValuesBuilder.php +12 −5 Go to diff View file
M plugins/testmanagement/include/TestManagement/REST/v1/CampaignUpdater.php +2 −1 Go to diff View file
M plugins/testmanagement/include/TestManagement/REST/v1/CampaignsResource.class.php +11 −2 Go to diff View file
M plugins/testmanagement/include/testmanagementPlugin.php +15 −2 Go to diff View file
M plugins/testmanagement/site-content/fr_FR/LC_MESSAGES/tuleap-testmanagement.po +8 −0 Go to diff View file
M plugins/testmanagement/tests/unit/TestManagement/Campaign/CloseCampaignControllerTest.php +47 −0 Go to diff View file
M plugins/testmanagement/tests/unit/TestManagement/Campaign/OpenCampaignControllerTest.php +46 −0 Go to diff View file
M plugins/testmanagement/tests/unit/TestManagement/REST/v1/CampaignArtifactUpdateFieldValuesBuilderTest.php +10 −4 Go to diff View file
M plugins/tracker/include/Tracker/Rule/FirstValidValueAccordingToDependenciesRetriever.php +3 −3 Go to diff View file
M plugins/tracker/include/Tracker/Semantic/Status/Done/DoneValueRetriever.php +18 −5 Go to diff View file
M plugins/tracker/include/Tracker/Semantic/Status/StatusValueRetriever.php +32 −9 Go to diff View file
A plugins/tracker/include/Tracker/Semantic/Status/StatusValuesCollection.php +54 −0 Go to diff View file
M plugins/tracker/include/Workflow/FirstPossibleValueInListRetriever.php +2 −2 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Semantic/Status/Done/DoneValueRetrieverTest.php +92 −50 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Semantic/Status/StatusValueRetrieverTest.php +181 −136 Go to diff View file
A plugins/tracker/tests/unit/Tracker/Semantic/Status/StatusValuesCollectionTest.php +55 −0 Go to diff View file