Edgewall Software

Opened 7 years ago

Last modified 4 years ago

#12824 closed defect

basic-workflow is not restored on environment upgrade — at Initial Version

Reported by: Ryan J Ollos Owned by: Ryan J Ollos
Priority: normal Milestone: 1.3.2
Component: general Version:
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

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. Add ticket create actions to original-workflow.ini
  2. Move handling of upgrade from pre-0.11 to a step in the 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.

Change History (0)

Note: See TracTickets for help on using tickets.