Opened 8 years ago

Closed 7 years ago

#4191 closed defect (worksforme)

Using set_previous_status for single state can result deadlock situation

Reported by: jtiai Owned by: retracile
Priority: normal Component: AdvancedTicketWorkflowPlugin
Severity: major Keywords:
Cc: Trac Release: 0.11


If you have "set_previous_status" defined and have defined two way status (like anystate -> infoneeded -> leave -> infoprovided). If you select leave, you can't get out of loop since last status would be info needed and you can't go back to "anystate" which would be previous logical state.

Attachments (0)

Change History (1)

comment:1 Changed 7 years ago by retracile

  • Priority changed from high to normal
  • Resolution set to worksforme
  • Severity changed from critical to major
  • Status changed from new to closed

The "leave" action would not change the status.

  1. the ticket is in 'anystate'
  2. request info, changes the state to 'infoneeded'
  3. leave, leaves the ticket in state 'infoneeded', making no change to the state
  4. info provided using set_previous_state changes back to the previous state, 'anystate'

This works. If I have misunderstood the problem, please reopen with further details.

Add Comment

Modify Ticket

as closed The owner will remain retracile.
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.