id summary reporter owner description type status priority milestone component version severity resolution keywords cc branch changelog apichanges internalchanges 12824 basic-workflow is not restored on environment upgrade Ryan J Ollos Ryan J Ollos "The `[ticket-workflow]` section is restored on environment upgrade, if missing. While the `basic-workflow.ini` is used to create the environment, the `original-workflow.ini` is used on environment upgrade ([5731#file9]). The `original-workflow.ini` does not have a ticket create action (#2045). It appears to just be a side-effect of the `IEnvironmentSetupParticipant` implementation that the `[ticket-workflow]` is restored after deleting it. The behavior is rather strange because most likely the user was running `basic-workflow.ini` or a custom workflow, but `original-workflow.ini` gets restored. Proposed changes: 1. DONE Add ticket create actions to `original-workflow.ini` 2. Move handling of upgrade from pre-0.11 to a step in the [browser:trunk/trac/upgrades upgrade module]. comment:7:ticket:9023 is relevant to how we handle this. 3. Either restore basic-workflow or do nothing when there is no `[ticket-workflow]` section in trac.ini. #12642 will handle warnings when there are no workflow actions." defect closed normal 1.3.2 general normal fixed "* The workflow is upgraded in `db21.py` rather than `ConfigurableTicketWorkflow.upgrade_environment`. * The `wiki-macros` directory is removed in `db26.py` rather than `EnvironmentAdmin._do_upgrade`."