stable
Clone or download
This is part of story #10670 a BurnUp chart based on Done stories If the done semantic is set in the tracker XML content, then it's imported. As explained directly in the SemanticDone::save method, we call it only in the XML import context (we do not want to also call it while saving the form to not add feedback during XML import process). In addition, the SemanticDoneFactory does the maximum checks possible before providing the done values, so we assume that there are OK. And given that we are in the middle of the XML import, the semantic done is not yet created, se we cannot check for closed value only in XML import ... This particular point must be fixed (if possible) in a dedicated next commit. Change-Id: Ia45c8a629622bc3c807383464c668a7005affffc
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/agiledashboard/include/AgileDashboard/Semantic/SemanticDone.php | +49 | −4 | Go to diff View file |
A | plugins/agiledashboard/include/AgileDashboard/Semantic/SemanticDoneFactory.php | +68 | −0 | Go to diff View file |
M | plugins/agiledashboard/include/agiledashboardPlugin.class.php | +6 | −0 | Go to diff View file |
M | plugins/agiledashboard/include/autoload.php | +3 | −2 | Go to diff View file |
A | plugins/agiledashboard/tests/include/AgileDashboard/Semantic/SemanticDoneTest.php | +116 | −0 | Go to diff View file |
M | plugins/tracker/www/resources/tracker-definition.rnc | +17 | −5 | Go to diff View file |
M | plugins/tracker/www/resources/tracker-definition.rng | +23 | −0 | Go to diff View file |
M | src/common/xml/resources/project/tracker-definition.rng | +23 | −0 | Go to diff View file |