stable

Clone or download

Read-only

request #11397 Shared Field doesn't follow change of source field

Use case : Step 1 : I define a Select Box in a Tracker 1 Step 2 : I Create a Shared field on tracker 2, field ID is the one of SB define in step 1 Step 3 : I change the Select Box in a Multi Select Box in tracker 1 Result : The shared field in tracker 2 is still a SB and not a MSB This behaviour must be updated so that all target fields have the new type. Change-Id: Idd5b02300317f7b5316793d23b1405d8ec533c6b

Modified Files

Name
A plugins/tracker/include/Tracker/FormElement/FormElementTypeUpdateErrorException.php +32 −0 Go to diff View file
A plugins/tracker/include/Tracker/FormElement/FormElementTypeUpdater.php +89 −0 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement.php +35 −7 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElementFactory.php +6 −8 Go to diff View file
M plugins/tracker/site-content/fr_FR/LC_MESSAGES/tuleap-tracker.po +11 −4 Go to diff View file
A plugins/tracker/tests/unit/Tracker/FormElement/FormElementTypeUpdaterTest.php +189 −0 Go to diff View file