stable

Clone or download

Read-only

Move initial effort for list fields

This is part of story #11346 move artifact's "initial_effort" Initial effort bound to list field (selectbox or radiobutton) are now moved. The value are retrived by ducktyping (i.e with the same label). There are some parts to know with the duck typing: * We check without regarding the case * The first value matching the label is returned * If no corresponding value found, the default value is returned Change-Id: I7536b05a403950fcd3ef3c704169597641132cf9

Modified Files

Name
M plugins/agiledashboard/include/AgileDashboard/Semantic/MoveChangesetXMLUpdater.php +65 −14 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/Semantic/MoveSemanticChecker.php +2 −3 Go to diff View file
M plugins/agiledashboard/include/agiledashboardPlugin.class.php +7 −1 Go to diff View file
M plugins/agiledashboard/phpunit/AgileDashboard/Semantic/MoveChangesetXMLUpdaterTest.php +71 −15 Go to diff View file
M plugins/agiledashboard/phpunit/AgileDashboard/Semantic/MoveSemanticCheckerTest.php +0 −28 Go to diff View file
M plugins/tracker/include/REST/v1/ArtifactsResource.class.php +8 −0 Go to diff View file
A plugins/tracker/include/Tracker/FormElement/Field/ListFields/FieldValueMatcher.php +48 −0 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_Radiobutton.class.php +0 −8 Go to diff View file
A plugins/tracker/phpunit/Tracker/FormElement/Field/ListFields/FieldValueMatcherTest.php +158 −0 Go to diff View file
M plugins/tracker/tests/Tracker_FormElement_Field_ListTypes_GetDefaultValueTest.php +4 −4 Go to diff View file
M tests/phpunit/phpunit.xml +1 −0 Go to diff View file