stable
Clone or download
Read-only
part of story #14824 change color of "none" value Forge your database (tracker_field_list_bind_decorator) and have a color for none value for a field (for tlp and legacy color). Export your project in XML None color is exported without REF (value REF should be 100, and we might have this value multiple times, whoch is not correct in xml context). example: <decorator tlp_color_name="clockwork-orange"/> Import again your project None color are properly created. Change-Id: Ia506ac1f0812bb621721485973ab17f06f8bd5ba
Modified Files
Name | ||||
---|---|---|---|---|
A | plugins/tracker/include/Tracker/FormElement/Field/ListFields/Bind/BindDecoratorExporter.php | +72 | −0 | Go to diff View file |
A | plugins/tracker/include/Tracker/FormElement/Field/ListFields/Bind/BindStaticXmlExporter.php | +110 | −0 | Go to diff View file |
A | plugins/tracker/include/Tracker/FormElement/Field/ListFields/Bind/BoundDecoratorSaver.php | +72 | −0 | Go to diff View file |
M | plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_List_Bind.class.php | +15 | −6 | Go to diff View file |
M | plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_List_BindDecorator.class.php | +31 | −32 | Go to diff View file |
M | plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_List_BindFactory.class.php | +8 | −4 | Go to diff View file |
M | plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_List_Bind_Static.class.php | +13 | −33 | Go to diff View file |
M | plugins/tracker/include/Tracker/FormElement/dao/Tracker_FormElement_Field_List_BindDecoratorDao.class.php | +53 | −25 | Go to diff View file |
M | plugins/tracker/resources/tracker-definition.rnc | +1 | −1 | Go to diff View file |
M | plugins/tracker/resources/tracker-definition.rng | +5 | −3 | Go to diff View file |
A | plugins/tracker/tests/unit/Tracker/FormElement/Field/ListFields/Bind/BindDecoratorExporterTest.php | +83 | −0 | Go to diff View file |
A | plugins/tracker/tests/unit/Tracker/FormElement/Field/ListFields/Bind/BindStaticXmlExporterTest.php | +176 | −0 | Go to diff View file |
A | plugins/tracker/tests/unit/Tracker/FormElement/Field/ListFields/Bind/BoundDecoratorSaverTest.php | +84 | −0 | Go to diff View file |
M | plugins/tracker/tests/unit/Tracker/FormElement/Field/ListFields/Bind/Tracker_FormElementFieldList_BindDecoratorTest.php | +4 | −29 | Go to diff View file |
M | src/common/xml/resources/project/tracker-definition.rng | +5 | −3 | Go to diff View file |