#2615 closed defect (duplicate)
delete ticket-report not working in 0.9.3 (+ fix)
Reported by: | Owned by: | Jonas Borgström | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | ticket system | Version: | 0.9.3 |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
by deleting a report i get this error:
Trac detected an internal error:
'module' object has no attribute 'row'
Traceback (most recent call last):
File "/usr/lib/python2.3/site-packages/trac/web/cgi_frontend.py", line 131, in run
dispatch_request(req.path_info, req, env)
File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 139, in dispatch_request
dispatcher.dispatch(req)
File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 107, in dispatch
resp = chosen_handler.process_request(req)
File "/usr/lib/python2.3/site-packages/trac/ticket/report.py", line 115, in process_request
self._render_confirm_delete(req, db, id)
File "/usr/lib/python2.3/site-packages/trac/ticket/report.py", line 198, in _render_confirm_delete
req.hdfreport = {
AttributeError: 'module' object has no attribute 'row'
the fix is to change line 201 in report.py from
'title': util.row[0],
to
'title': util.escape(row[0]),
(thx to alect on irc)
That was actually fixed this morning, 2 tickets before :)