stable

Clone or download

Read-only

story #5079 define more than one field that is not empty for a given state transition

Administrator can define multiple mandatory fields for a transition condition It is taken in account in Import / export XML Tracker copy (duplicated) Project creation Change-Id: Ib0d946ce3d9450e53bf578587c05ba6572ee0cf0

Modified Files

Name
M plugins/tracker/include/autoload.php +3 −2 Go to diff View file
M plugins/tracker/include/workflow/Action/Transitions/Details.class.php +15 −8 Go to diff View file
A plugins/tracker/include/workflow/Transition/Condition/CannotCreateTransitionException.php +28 −0 Go to diff View file
M plugins/tracker/include/workflow/Transition/Condition/FieldNotEmpty.class.php +46 −38 Go to diff View file
M plugins/tracker/include/workflow/Transition/Condition/FieldNotEmpty/Dao.class.php +18 −8 Go to diff View file
M plugins/tracker/include/workflow/Transition/Condition/FieldNotEmpty/Factory.class.php +13 −12 Go to diff View file
M plugins/tracker/include/workflow/Transition/ConditionFactory.class.php +8 −4 Go to diff View file
M plugins/tracker/include/workflow/Transition/ConditionManager.class.php +14 −5 Go to diff View file
M plugins/tracker/site-content/en_US/tracker.tab +2 −0 Go to diff View file
M plugins/tracker/site-content/fr_FR/tracker.tab +4 −2 Go to diff View file
M plugins/tracker/tests/workflow/Transition/Condition/FieldNotEmpty/FactoryTest.php +15 −24 Go to diff View file
M plugins/tracker/tests/workflow/Transition/Condition/FieldNotEmptyTest.php +47 −16 Go to diff View file
M plugins/tracker/www/resources/tracker-definition.rnc +1 −1 Go to diff View file
M plugins/tracker/www/resources/tracker-definition.rng +7 −5 Go to diff View file
M plugins/tracker/www/themes/default/css/style.less +4 −0 Go to diff View file
D src/common/xml/resources/mediawiki-definition.rng +0 −45 Go to diff View file
M src/common/xml/resources/project/tracker-definition.rng +7 −5 Go to diff View file