Modify

Opened 15 years ago

Closed 14 years ago

#4191 closed defect (worksforme)

Using set_previous_status for single state can result deadlock situation

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

Description

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 14 years ago by Eli Carter

Priority: highnormal
Resolution: worksforme
Severity: criticalmajor
Status: newclosed

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.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Eli Carter.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.