Edgewall Software
Modify

Opened 16 years ago

Closed 16 years ago

#7357 closed defect (fixed)

Internal error, going "back to query" when looking at a particular ticket

Reported by: Lele Gaifax Owned by: Christian Boos
Priority: normal Milestone: 0.11
Component: ticket system Version: 0.11rc2
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

When going back to query from the ticket view you get this:

 Trac detected an internal error:

ValueError: invalid literal for int() with base 10: 'True'

with the following traceback:

File "/usr/local/lib/python2.5/site-packages/Trac-0.11dev_r7215-py2.5.egg/trac/web/main.py", line 423, in _dispatch_request
  dispatcher.dispatch(req)
File "/usr/local/lib/python2.5/site-packages/Trac-0.11dev_r7215-py2.5.egg/trac/web/main.py", line 197, in dispatch
  resp = chosen_handler.process_request(req)
File "/usr/local/lib/python2.5/site-packages/Trac-0.11dev_r7215-py2.5.egg/trac/ticket/report.py", line 105, in process_request
  template, data, content_type = self._render_view(req, db, id)
File "/usr/local/lib/python2.5/site-packages/Trac-0.11dev_r7215-py2.5.egg/trac/ticket/report.py", line 337, in _render_view
  asc = bool(int(asc)) # string '0' or '1' to int/boolean

Attachments (0)

Change History (2)

comment:1 by anonymous, 16 years ago

I can confirm—it seems to have happened as a result of r7214.

comment:2 by Christian Boos, 16 years ago

Milestone: 0.11
Resolution: fixed
Status: newclosed

The problem actually came from the #216 related branch and was even hinted to by a FIXME comment, so we could have suspected a problem in this area of the patch… unfortunately the report related changes didn't get as much tested as the custom query ones.

Fixed in r7219 for 0.11 and r7220 for 0.12.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Christian Boos.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Christian Boos 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.