stable
Clone or download
Read-only
story #8168: Export and import list fields
For now, the open lists are not taken in account. In this commit, we are able to export and import list fields like selectbox or multiselect box from one platform to another. We support the three binds (users, ugroups and static). In addition, we fixed a weird behaviour for the list fields bound to ugroups in the report table. Change-Id: I72dbc9817e7973d22c3f4f7344537bfc98de29f0
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/tracker/include/Tracker/Action/CopyArtifact.class.php | +5 | −2 | Go to diff View file |
M | plugins/tracker/include/Tracker/Artifact/XMLImport.class.php | +28 | −14 | Go to diff View file |
M | plugins/tracker/include/Tracker/Artifact/XMLImport/ArtifactFieldsDataBuilder.class.php | +7 | −2 | Go to diff View file |
M | plugins/tracker/include/Tracker/Artifact/XMLImport/XMLImportFieldStrategyList.class.php | +16 | −5 | Go to diff View file |
M | plugins/tracker/include/Tracker/FormElement/dao/Tracker_FormElement_Field_List_Bind_Ugroups_ValueDao.class.php | +7 | −7 | Go to diff View file |
M | plugins/tracker/include/Tracker/XML/Exporter/ChangesetValue/ChangesetValueListXMLExporter.class.php | +26 | −6 | Go to diff View file |
M | plugins/tracker/include/Tracker/XML/Exporter/ChangesetValue/ChangesetValueOpenListXMLExporter.class.php | +32 | −0 | Go to diff View file |
M | plugins/tracker/include/Tracker/XML/Importer/ChildrenXMLImporter.php | +6 | −1 | Go to diff View file |
A | plugins/tracker/include/TrackerXmlFieldsMapping.php | +24 | −0 | Go to diff View file |
A | plugins/tracker/include/TrackerXmlFieldsMapping_FromAnotherPlatform.php | +47 | −0 | Go to diff View file |
A | plugins/tracker/include/TrackerXmlFieldsMapping_InSamePlatform.php | +26 | −0 | Go to diff View file |
A | plugins/tracker/include/TrackerXmlFieldsMapping_ValueNotFoundException.php | +21 | −0 | Go to diff View file |
M | plugins/tracker/include/TrackerXmlImport.class.php | +3 | −1 | Go to diff View file |
M | plugins/tracker/include/autoload.php | +6 | −2 | Go to diff View file |
M | plugins/tracker/tests/Artifact/XMLImportTest.php | +183 | −40 | Go to diff View file |
M | plugins/tracker/tests/Tracker/Action/CopyArtifactTest.php | +1 | −1 | Go to diff View file |
M | plugins/tracker/tests/Tracker/XML/Importer/ChildrenXMLImporterTest.php | +12 | −5 | Go to diff View file |
A | plugins/tracker/tests/TrackerXmlFieldsMapping_FromAnotherPlatformTest.php | +113 | −0 | Go to diff View file |
A | plugins/tracker/tests/TrackerXmlFieldsMapping_InSamePlatformTest.php | +101 | −0 | Go to diff View file |
M | plugins/tracker/www/resources/artifact-definition.rnc | +17 | −8 | Go to diff View file |
M | plugins/tracker/www/resources/artifact-definition.rng | +29 | −18 | Go to diff View file |