Opened 15 years ago
Closed 12 years ago
#6427 closed defect (fixed)
[Patch] When configuring a different workflow, autocomplete doesn't work on reassign
Reported by: | MartinBeyer | Owned by: | Ryan J Ollos |
---|---|---|---|
Priority: | normal | Component: | AutocompleteUsersPlugin |
Severity: | minor | Keywords: | jquery |
Cc: | Mitar | Trac Release: | 0.11 |
Description (last modified by )
because input fields with other names than action_reassign_reassign_owner are created. They seem all to end with reassign_owner, however. (didn't check that in the sources)
workaround:
replace in autocompleteusers\htdocs\js\autocomplete_ticket.js
$("#action_reassign_reassign_owner").autocomplete("../users", {
with:
`$("[id$=reassign_owner]").autocomplete("../users", { `
Attachments (1)
Change History (14)
comment:1 Changed 14 years ago by
Owner: | changed from Jeff Hammel to Ryan J Ollos |
---|
comment:2 Changed 14 years ago by
Description: | modified (diff) |
---|---|
Keywords: | jquery added |
Priority: | normal → high |
comment:3 Changed 14 years ago by
Summary: | When configuring a different workflow, autocomplete doesn't work on reassign → [Patch] When configuring a different workflow, autocomplete doesn't work on reassign |
---|
comment:4 Changed 14 years ago by
I can confirm this patch works for me (I'm currently running on r9775 of this plugin).
Relevant trac code is in trac/ticket/default_workflow.py (line numbers as of Trac 0.11.4):
226 if 'set_owner' in operations: 227 id = 'action_%s_reassign_owner' % action 228 selected_owner = req.args.get(id, req.authname)
Attaching mercurial diff for this change based on r9775.
comment:5 Changed 12 years ago by
Status: | new → assigned |
---|
Mitar has this in his branch as well: fc124698af4b. I'm pulling in the changes now.
comment:6 Changed 12 years ago by
Cc: | Mitar added; anonymous removed |
---|
comment:7 Changed 12 years ago by
comment:8 Changed 12 years ago by
Ticket will be left open for feedback until 0.4.2/0.5.0 are released.
comment:9 follow-up: 10 Changed 12 years ago by
We have been using this (in my branch) for some time now and it works.
comment:10 Changed 12 years ago by
Replying to mitar:
We have been using this (in my branch) for some time now and it works.
Which version of Trac are you running?
comment:12 Changed 12 years ago by
Priority: | high → normal |
---|
comment:13 Changed 12 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Fix is in the current dev version of the trunk and will be released with version 0.4.2 of the plugin.
Changing ticket owner to be new maintainer.