stable
Clone or download
Read-only
request #37201 Open values are lost during artifact move
How to reproduce? Have an open list field Define some static values inside Create an artifact with a static value in your open list field Move it => the value is lost How to test? - static and values entered by user must be moved - given open list does not have a value, and given destination tracker has a default value, then move artifact will take the default value for the field Change-Id: Iaead9138af1639f8e82b8d6f74633a8c262ef31b
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/tracker/include/REST/v1/ArtifactsResource.class.php | +6 | −0 | Go to diff View file |
A | plugins/tracker/include/Tracker/XML/Updater/BindOpenValueForDuckTypingUpdater.php | +95 | −0 | Go to diff View file |
M | plugins/tracker/include/Tracker/XML/Updater/MoveChangesetXMLDuckTypingUpdater.php | +8 | −0 | Go to diff View file |
A | plugins/tracker/include/Tracker/XML/Updater/UpdateBindOpenValueByDuckTyping.php | +35 | −0 | Go to diff View file |
A | plugins/tracker/tests/unit/Tracker/XML/Updater/BindOpenValueForDuckTypingUpdaterTest.php | +89 | −0 | Go to diff View file |
M | plugins/tracker/tests/unit/Tracker/XML/Updater/MoveChangesetXMLDuckTypingUpdaterTest.php | +10 | −0 | Go to diff View file |