Modify ↓
Opened 8 years ago
Closed 8 years ago
#12586 closed defect (fixed)
KeyError is raised from query page with "milestone" as custom field and no milestones
Reported by: | Jun Omae | Owned by: | Jun Omae |
---|---|---|---|
Priority: | normal | Milestone: | 1.0.14 |
Component: | ticket system | Version: | 1.0.11 |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: |
Fix |
||
API Changes: | |||
Internal Changes: |
Description
How to reproduce:
- Remove
milestone
records - Add
milestone = text
to[ticket-custom]
section - Visit /query page
Prior to 1.0.11, OperationalError: ambiguous column name: priority.value
occurs. See also #12399.
I think batch-modify form in query page has similar issues.
Traceback (most recent call last): File "/venv/trac/1.0.13/lib/python2.5/site-packages/trac/web/main.py", line 562, in _dispatch_request dispatcher.dispatch(req) File "/venv/trac/1.0.13/lib/python2.5/site-packages/trac/web/main.py", line 249, in dispatch resp = chosen_handler.process_request(req) File "/venv/trac/1.0.13/lib/python2.5/site-packages/trac/ticket/query.py", line 1004, in process_request return self.display_html(req, query) File "/venv/trac/1.0.13/lib/python2.5/site-packages/trac/ticket/query.py", line 1121, in display_html data = query.template_data(context, tickets, orig_list, orig_time, req) File "/venv/trac/1.0.13/lib/python2.5/site-packages/trac/ticket/query.py", line 768, in template_data for opt in field['options']] KeyError: 'options'
Attachments (0)
Change History (3)
comment:1 by , 8 years ago
Owner: | set to |
---|---|
Release Notes: | modified (diff) |
Status: | new → assigned |
comment:3 by , 8 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Committed in [15232-15233] and merged in [15234-15235].
Note:
See TracTickets
for help on using tickets.
Proposed changes in jomae.git@t12586.