Edgewall Software
Modify

Opened 18 years ago

Closed 17 years ago

#5253 closed defect (worksforme)

Ambiguous selection of field

Reported by: anonymous Owned by: Matthew Good
Priority: normal Milestone:
Component: report system Version:
Severity: normal Keywords: needinfo
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description (last modified by Emmanuel Blot)

I did a custom report and I grouped records by 'milestone' .Then I clicked on a column to sort by it (in this case it is called severity). I got this error:

Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 379, in dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 230, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/lib/python2.4/site-packages/trac/ticket/query.py", line 443, in process_request
    self.display_html(req, query)
  File "/usr/lib/python2.4/site-packages/trac/ticket/query.py", line 552, in display_html
    tickets = query.execute(req, db)
  File "/usr/lib/python2.4/site-packages/trac/ticket/query.py", line 158, in execute
    cursor.execute(sql, args)
  File "/usr/lib/python2.4/site-packages/trac/db/util.py", line 47, in execute
    return self.cursor.execute(sql_escape_percent(sql), args)
  File "/usr/lib/python2.4/site-packages/trac/db/sqlite_backend.py", line 56, in execute
    args or [])
  File "/usr/lib/python2.4/site-packages/trac/db/sqlite_backend.py", line 48, in _rollback_on_error
    return function(self, *args, **kwargs)
OperationalError: ambiguous column name: severity.value

Attachments (0)

Change History (2)

comment:1 by Emmanuel Blot, 18 years ago

Component: generalreport system
Description: modified (diff)
Keywords: needinfo added
Owner: changed from Jonas Borgström to Matthew Good

Can you provide the custom report source, as well as the Trac version you're using ? TIA.

comment:2 by sid, 17 years ago

Resolution: worksforme
Status: newclosed

Closing due to lack of followup from the original reporter. It is not possible to debug this issue without the report SQL. Please reopen if you can provide that information. Thanks.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Matthew Good.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Matthew Good to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.