stable

Clone or download

Read-only

request #14352 Add a dedicated cache storage for XML criteria value

Instead of using the criteria_value form the field object, XML import relies on a dedicated caching object to store temporary values and reuse them while saving data in database. Change-Id: I04362fcf432fdd32b5756bb9d4f922dc3bfef455

Modified Files

Name
A plugins/tracker/include/Tracker/FormElement/Field/XMLCriteriaValueCache.php +97 −0 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field.class.php +6 −3 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_List.class.php +7 −3 Go to diff View file
M plugins/tracker/include/TrackerXmlImport.class.php +2 −0 Go to diff View file
M plugins/tracker/phpunit/Tracker/FormElement/Tracker_FormElement_Field_CriteriaTest.php +6 −2 Go to diff View file
M plugins/tracker/phpunit/Tracker/FormElement/Tracker_FormElement_Field_List_CriteriaTest.php +10 −7 Go to diff View file