stable
Clone or download
Read-only
part of story #13003 : import/export TTM steps in XML Allows external fields on XML: they will be used to let plugins validate and import their own fields To test, add section <externalField> on formElements in a tracker structure XML. The validation must work and the external field should not be added on tracker's fields Change-Id: I691469f1eb77b5259b61299613c04dc258291be5
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/agiledashboard/include/AgileDashboard/AgileDashboardXMLController.class.php | +13 | −2 | Go to diff View file |
M | plugins/agiledashboard/include/AgileDashboardRouter.class.php | +6 | −4 | Go to diff View file |
M | plugins/tracker/include/TrackerXmlImport.class.php | +48 | −26 | Go to diff View file |
M | plugins/tracker/phpunit/Tracker/TrackerXmlImportTest.php | +29 | −10 | Go to diff View file |
M | plugins/tracker/tests/TrackerXmlImportTest.php | +68 | −9 | Go to diff View file |
M | plugins/tracker/tests/rest/_fixtures/TrackerFields/project.xml | +1 | −0 | Go to diff View file |
A | src/common/Event/Events/ImportValidateExternalFields.php | +46 | −0 | Go to diff View file |
M | src/common/Project/ProjectCreationData.class.php | +13 | −4 | Go to diff View file |
A | src/common/Project/XML/Import/ExternalFieldsExtractor.php | +61 | −0 | Go to diff View file |
M | tests/phpunit/common/Project/ProjectCreationDataTest.php | +5 | −1 | Go to diff View file |
A | tests/phpunit/common/Project/XML/Import/ExternalFieldsExtractorTest.php | +242 | −0 | Go to diff View file |