stable
Clone or download
Read-only
The main goal is to have human readable XML output to ease debug as well as make fixtures more resistant to changes (no XML shuffle because one new field moved all ids). The import process (XMLImportFieldStrategyList) had to be changed because despite the RNC allows value IDs to be string, the code was enforcing int. For Jira Import part, the Status values remains IDs because there is too much coupling with the way status values are exported for semantic and reports and that would require another mega-refacto. Closes request #24247 XML generation intermediate representation should not depend on IDGenerator Change-Id: I85a7bd7dd34fcdfad0b6cf0a65fd7d2ec882a8a4
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/tracker/include/Tracker/Artifact/XMLImport/XMLImportFieldStrategyList.class.php | +1 | −1 | Go to diff View file |
M | plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Structure/JiraFieldAPIAllowedValueRepresentation.php | +8 | −25 | Go to diff View file |
M | plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Structure/JiraToTuleapFieldTypeMapper.php | +15 | −36 | Go to diff View file |
M | plugins/tracker/include/Tracker/FormElement/Field/ListFields/Bind/BindStatic/XML/XMLBindStaticValue.php | +11 | −10 | Go to diff View file |
M | plugins/tracker/tests/unit/Tracker/Artifact/XMLImport/XMLImportFieldStrategyListTest.php | +74 | −1 | Go to diff View file |
M | plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/IXMC/tracker.xml | +10 | −10 | Go to diff View file |
M | plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/SBX/tracker.xml | +52 | −52 | Go to diff View file |
M | plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/SP/tracker.xml | +23 | −23 | Go to diff View file |