Opened 14 years ago
Last modified 12 months ago
#8719 assigned defect
Status of action radio button is set to wrong option after refreshing an existing ticket
Reported by: | devscan | Owned by: | Dirk Stöcker |
---|---|---|---|
Priority: | normal | Component: | CcSelectorPlugin |
Severity: | normal | Keywords: | side-effect javascript |
Cc: | Trac Release: | 0.12 |
Description
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.
[cc_selector] show_fullname = false username_blacklist = admin, development, extern [ticket-workflow] 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)
Change History (4)
Changed 14 years ago by
Attachment: | wrong_action.png added |
---|
comment:1 Changed 14 years ago by
Keywords: | side-effect javascript added |
---|---|
Status: | new → assigned |
Confirmed.
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 8 years ago by
Owner: | Steffen Hoffmann deleted |
---|---|
Status: | assigned → new |
comment:3 Changed 12 months ago by
Owner: | set to Dirk Stöcker |
---|---|
Status: | new → assigned |
First option should be preselected, but second one is...