stable
Clone or download
Read-only
This is part of story #13243 Import/export workflow simple mode via XML A first base of workflow simple XML import is done. It allows you to import a workflow in simple mode with basic informations (the used field and the is used information). Example: <simple_workflow> <field_id REF="F42704"/> <is_used>1</is_used> </simple_workflow> Neither transitions nor actions can be imported for now. Workflow and simple workflow cannot be imported at the same time. Change-Id: I92737367afd1d0e6600617820a40e6d503116f72
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/tracker/include/TrackerXmlImport.class.php | +9 | −1 | Go to diff View file |
M | plugins/tracker/include/Workflow/WorkflowFactory.class.php | +40 | −7 | Go to diff View file |
M | plugins/tracker/phpunit/Tracker/Workflow/WorkflowFactoryTest.php | +31 | −1 | Go to diff View file |
A | plugins/tracker/phpunit/Tracker/Workflow/_fixtures/importSimpleWorkflow.xml | +5 | −0 | Go to diff View file |
M | plugins/tracker/tests/rest/TrackerBase.php | +3 | −0 | Go to diff View file |
M | plugins/tracker/tests/rest/Workflows/SimpleModeTest.php | +15 | −0 | Go to diff View file |
M | plugins/tracker/tests/rest/_fixtures/Workflows/project.xml | +47 | −0 | Go to diff View file |
M | plugins/tracker/www/resources/tracker-definition.rnc | +22 | −10 | Go to diff View file |
M | plugins/tracker/www/resources/tracker-definition.rng | +52 | −25 | Go to diff View file |
M | src/common/xml/resources/project/tracker-definition.rng | +52 | −25 | Go to diff View file |