Opened 7 years ago

Last modified 18 months ago

#8719 new defect

Status of action radio button is set to wrong option after refreshing an existing ticket

Reported by: devscan Owned by:
Priority: normal Component: CcSelectorPlugin
Severity: normal Keywords: side-effect javascript
Cc: Trac Release: 0.12


When I view an existing ticket and hit the refresh button in my browser, the action radio button is set to 'resolve as fixed' instead of the first 'leave as accepted' status, see the attached screenshot. I use the custom workflow as shown below, but the behavior is exactly the same in a completely new default Trac 0.12 environment.

show_fullname = false
username_blacklist = admin, development, extern

accept = new,assigned,accepted,reopened,input needed -> accepted
accept.operations = set_owner_to_self
accept.permissions = TICKET_MODIFY
leave = * -> *
leave.default = 1
leave.operations = leave_status
need input = new,assigned,accepted,reopened,input needed,closed -> input needed
need input.operations = set_owner
need input.permissions = TICKET_MODIFY
reassign = new,assigned,accepted,reopened,input needed -> assigned
reassign.operations = set_owner
reassign.permissions = TICKET_MODIFY
reopen = accepted,closed,input needed -> reopened
reopen.operations = del_resolution
reopen.permissions = TICKET_CREATE
resolve = new,assigned,accepted,reopened,input needed,closed -> closed
resolve.operations = set_resolution
resolve.permissions = TICKET_MODIFY

Attachments (1)

wrong_action.png (22.2 KB) - added by devscan 7 years ago.
First option should be preselected, but second one is…

Download all attachments as: .zip

Change History (3)

Changed 7 years ago by devscan

Attachment: wrong_action.png added

First option should be preselected, but second one is...

comment:1 Changed 7 years ago by Steffen Hoffmann

Keywords: side-effect javascript added
Status: newassigned


I think I've seen mysterious ticket action changes happen before, but I've never drawn a connection to this plugin. At first sight the python part looks not at all suspicious. My best guess it, that it is a side-effect of JavaScript execution. But what exactly is going one there, is still unclear to me.

comment:2 Changed 18 months ago by Ryan J Ollos

Owner: Steffen Hoffmann deleted
Status: assignednew

Modify Ticket

Change Properties
Set your email in Preferences
as new The ticket will remain with no owner.

Add Comment

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

Note: See TracTickets for help on using tickets.