Edgewall Software

Changes between Version 105 and Version 106 of TracUpgrade


Ignore:
Timestamp:
Nov 24, 2014, 12:58:48 PM (9 years ago)
Author:
Ryan J Ollos
Comment:

Information on workflow upgrade moved from the 1.1/TracWorkflow page.

Legend:

Unmodified
Added
Removed
Modified
  • TracUpgrade

    v105 v106  
    154154If you had the webadmin plugin installed, you can uninstall it as it is part of the Trac code base since 0.11.
    155155
     156===== New Default Configurable Workflow
     157
     158When you run `trac-admin <env> upgrade`, your `trac.ini` will be modified to include a `[ticket-workflow]` section. The workflow configured in this case is the original workflow, so that ticket actions will behave like they did in 0.10.
     159
     160Graphically, that looks like this:
     161
     162{{{#!Workflow width=500 height=240
     163leave = * -> *
     164leave.operations = leave_status
     165leave.default = 1
     166accept = new -> assigned
     167accept.permissions = TICKET_MODIFY
     168accept.operations = set_owner_to_self
     169resolve = new,assigned,reopened -> closed
     170resolve.permissions = TICKET_MODIFY
     171resolve.operations = set_resolution
     172reassign = new,assigned,reopened -> new
     173reassign.permissions = TICKET_MODIFY
     174reassign.operations = set_owner
     175reopen = closed -> reopened
     176reopen.permissions = TICKET_CREATE
     177reopen.operations = del_resolution
     178}}}
     179
     180There are some significant "warts" in this; such as accepting a ticket sets it to 'assigned' state, and assigning a ticket sets it to 'new' state.  Perfectly obvious, right?
     181So you will probably want to migrate to "basic" workflow; [trac:source:trunk/contrib/workflow/migrate_original_to_basic.py contrib/workflow/migrate_original_to_basic.py] may be helpful. See TracWorkflow for a detailed description of the new basic workflow.
     182
    156183=== 7. Restart the Web Server === #RestarttheWebServer
    157184