stable

Clone or download

Read-only

SemanticChecker checks for external semantic

This is part of story #11346 move artifact's "initial_effort" Now the initial effort semantic is checked before the move operation. If no tracker semantic are aligned (title and description for now) we will ask to other plugins if their semantics are aligned (in our case the Agiledashboard plugin and the initial effort semantic). The initial effort semantic is considered aligned if both tracker have the semantic and if the field have the same type. The initial effort semantic value is not move yet, it will be done in the next commit. Change-Id: I84a36e0f3ad4b49ce36bca18a52ce0150b747ee0

Modified Files

Name
A plugins/agiledashboard/include/AgileDashboard/Semantic/MoveSemanticChecker.php +69 −0 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/Semantic/Semantic_InitialEffort.class.php +1 −1 Go to diff View file
M plugins/agiledashboard/include/agiledashboardPlugin.class.php +17 −1 Go to diff View file
A plugins/agiledashboard/phpunit/AgileDashboard/Semantic/MoveSemanticCheckerTest.php +113 −0 Go to diff View file
M plugins/tracker/include/REST/v1/ArtifactsResource.class.php +5 −3 Go to diff View file
M plugins/tracker/include/Tracker/Action/MoveSemanticChecker.php +19 −0 Go to diff View file
A plugins/tracker/include/Tracker/Events/MoveArtifactCheckExternalSemantics.php +97 −0 Go to diff View file
M plugins/tracker/include/Tracker/Exception/MoveArtifactSemanticsMissingException.php +0 −4 Go to diff View file
M plugins/tracker/phpunit/Tracker/Action/MoveSemanticCheckerTest.php +63 −1 Go to diff View file