stable

Clone or download

Read-only

Export states for XML simple workflows

This is part of story #13243 Import/export workflow simple mode via XML When you export a tracker with a simple workflow, the workflow is now exported with the states. There are neither transitions nor actions/conditions yet. To enable this, you have to set the following feature flag in the local.inc file: $sys_tracker_export_simple_workflows = 1; Change-Id: Icead910f6a266945c46c32352ab86a0e4235ce3d

Modified Files

Name
M plugins/tracker/include/Tracker/Tracker.class.php +4 −1 Go to diff View file
A plugins/tracker/include/Workflow/SimpleMode/SimpleWorkflowDao.php +42 −0 Go to diff View file
M plugins/tracker/include/Workflow/SimpleMode/SimpleWorkflowXMLExporter.php +24 −0 Go to diff View file
M plugins/tracker/include/Workflow/TransitionFactory.class.php +4 −0 Go to diff View file
M plugins/tracker/phpunit/Tracker/Workflow/SimpleMode/SimpleWorkflowXMLExporterTest.php +18 −2 Go to diff View file