stable
Clone or download
Read-only
Part of story #12187 configure workflow pre & post actions at target state level How to test: - Run the forgeupgrade - When you create a new workflow, it should have "is_advanced = 1" in database. - When you forge your DB and set it to 0, and then create a new tracker based on this one, the new workflow will also be is_advanced = 0 Will be done later: - Making simple mode the default will be done after the simple mode is usable and people can switch to/from it. - Returning this info via REST, GUI, etc. Change-Id: Id4b75858b17f9052c234f488c035f044e385dea3
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/tracker/db/install.sql | +1 | −0 | Go to diff View file |
A | plugins/tracker/db/mysql/updates/2019/201902111418_add_advanced_flag_workflow.php | +57 | −0 | Go to diff View file |
M | plugins/tracker/include/Workflow/Workflow.class.php | +17 | −2 | Go to diff View file |
M | plugins/tracker/include/Workflow/WorkflowFactory.class.php | +13 | −5 | Go to diff View file |
M | plugins/tracker/include/Workflow/WorkflowWithoutTransition.class.php | +4 | −2 | Go to diff View file |
M | plugins/tracker/include/Workflow/Workflow_Dao.class.php | +20 | −15 | Go to diff View file |
M | plugins/tracker/tests/builders/aWorkflow.php | +3 | −1 | Go to diff View file |
M | plugins/tracker/tests/workflow/WorkflowFactoryTest.php | +1 | −1 | Go to diff View file |
M | plugins/tracker/tests/workflow/WorkflowTest.php | +4 | −0 | Go to diff View file |