Edgewall Software
Modify

Opened 19 years ago

Closed 19 years ago

Last modified 18 years ago

#2615 closed defect (duplicate)

delete ticket-report not working in 0.9.3 (+ fix)

Reported by: raven@… 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)

Attachments (0)

Change History (1)

comment:1 by Christian Boos, 19 years ago

Resolution: duplicate
Status: newclosed

That was actually fixed this morning, 2 tickets before :)

Modify Ticket

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