stable

Clone or download

Read-only

part of request #25353 : Field dependencies and transitions rules are not check on Cardwalls

Field dependencies and transitions rules are not check on Taskboard. This take the first created value without check if the value is valid. If it's not, it will fail during the artifact update Change-Id: I28e10356c148692ade590deb4c3a338e4b410419

Modified Files

Name
M plugins/taskboard/include/Column/FieldValuesToColumnMapping/EmptyMappedValues.php +4 −0 Go to diff View file
M plugins/taskboard/include/Column/FieldValuesToColumnMapping/MappedValues.php +9 −0 Go to diff View file
M plugins/taskboard/include/Column/FieldValuesToColumnMapping/MappedValuesInterface.php +3 −8 Go to diff View file
M plugins/taskboard/include/REST/v1/Cell/CardMappedFieldUpdater.php +50 −31 Go to diff View file
M plugins/taskboard/tests/unit/Column/FieldValuesToColumnMapping/EmptyMappedValuesTest.php +6 −0 Go to diff View file
M plugins/taskboard/tests/unit/REST/v1/Cell/CardMappedFieldUpdaterTest.php +75 −20 Go to diff View file
A plugins/tracker/include/Tracker/FormElement/Field/ListFields/Bind/BindValueIdCollection.php +33 −0 Go to diff View file
A plugins/tracker/include/Tracker/Rule/FieldListRuleCollection.php +53 −0 Go to diff View file
A plugins/tracker/include/Tracker/Rule/FirstValidValueAccordingToDependenciesRetriever.php +155 −0 Go to diff View file
M plugins/tracker/include/Tracker/Rule/Tracker_Rule.class.php +3 −4 Go to diff View file
A plugins/tracker/include/Workflow/FirstPossibleValueInListRetriever.php +83 −0 Go to diff View file
A plugins/tracker/include/Workflow/NoPossibleValueException.php +38 −0 Go to diff View file
A plugins/tracker/include/Workflow/ValidValuesAccordingToTransitionsRetriever.php +50 −0 Go to diff View file
M plugins/tracker/site-content/fr_FR/LC_MESSAGES/tuleap-tracker.po +5 −0 Go to diff View file
A plugins/tracker/tests/unit/Stub/BindValueIdCollectionStub.php +66 −0 Go to diff View file
A plugins/tracker/tests/unit/Tracker/Rules/FirstValidValueAccordingToDependenciesRetrieverTest.php +141 −0 Go to diff View file
A plugins/tracker/tests/unit/Workflow/FirstPossibleValueInListRetrieverTest.php +303 −0 Go to diff View file
A plugins/tracker/tests/unit/Workflow/ValidValuesAccordingToTransitionsRetrieverTest.php +196 −0 Go to diff View file