Modify ↓
Opened 17 years ago
Closed 13 years ago
#4817 closed defect (wontfix)
Python exception when change is tied to an attached file
| Reported by: | Emmanuel Blot | Owned by: | Noah Kantrowitz |
|---|---|---|---|
| Priority: | normal | Component: | TicketDeletePlugin |
| Severity: | normal | Keywords: | |
| Cc: | Trac Release: | 0.11 |
Description
Here the traceback that is dumped when a change related to an attached file is deleted:
Traceback (most recent call last):
File "/usr/local/virtualenv/lib/python2.5/site-packages/Trac-0.11.4rc1-py2.5.egg/trac/web/api.py", line 367, in send_error
'text/html')
File "/usr/local/virtualenv/lib/python2.5/site-packages/Trac-0.11.4rc1-py2.5.egg/trac/web/chrome.py", line 728, in render_template
if not req.session or not int(req.session.get('accesskeys', 0)):
File "/usr/local/virtualenv/lib/python2.5/site-packages/Trac-0.11.4rc1-py2.5.egg/trac/web/api.py", line 194, in __getattr__
value = self.callbacks[name](self)
File "/usr/local/virtualenv/lib/python2.5/site-packages/Trac-0.11.4rc1-py2.5.egg/trac/web/main.py", line 267, in _get_session
return Session(self.env, req)
File "/usr/local/virtualenv/lib/python2.5/site-packages/Trac-0.11.4rc1-py2.5.egg/trac/web/session.py", line 157, in __init__
self.get_session(req.authname, authenticated=True)
File "/usr/local/virtualenv/lib/python2.5/site-packages/Trac-0.11.4rc1-py2.5.egg/trac/web/session.py", line 173, in get_session
super(Session, self).get_session(sid, authenticated)
File "/usr/local/virtualenv/lib/python2.5/site-packages/Trac-0.11.4rc1-py2.5.egg/trac/web/session.py", line 56, in get_session
(sid, int(authenticated)))
File "/usr/local/virtualenv/lib/python2.5/site-packages/Trac-0.11.4rc1-py2.5.egg/trac/db/util.py", line 50, in execute
return self.cursor.execute(sql_escape_percent(sql), args)
File "/usr/local/virtualenv/lib/python2.5/site-packages/Trac-0.11.4rc1-py2.5.egg/trac/db/util.py", line 50, in execute
return self.cursor.execute(sql_escape_percent(sql), args)
InternalError: current transaction is aborted, commands ignored until end of transaction block
It occurs whether the change is deleted, on the attachment field of the change is deleted
Attachments (0)
Change History (2)
comment:1 Changed 16 years ago by
comment:2 Changed 13 years ago by
| Resolution: | → wontfix |
|---|---|
| Status: | new → closed |
Closing tickets for deprecated plugin.
Note: See
TracTickets for help on using
tickets.



As of [6925]:
Adding an attachment results in two entries on the Delete Ticket Changes page: an empty comment field and an attachment field.