Edgewall Software

Ticket #2615 (closed defect: duplicate)

Opened 3 years ago

Last modified 2 years ago

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

Reported by: raven@… Owned by: jonas
Priority: normal Milestone:
Component: ticket system Version: 0.9.3
Severity: normal Keywords:
Cc:

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

Change History

Changed 3 years ago by cboos

  • status changed from new to closed
  • resolution set to duplicate

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

Add/Change #2615 (delete ticket-report not working in 0.9.3 (+ fix))

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
to The owner will change from jonas. Next status will be 'closed'
 
Note: See TracTickets for help on using tickets.