Opened 13 years ago

Closed 13 years ago

#1325 closed defect (invalid)

Replacing a ticket attachement in Trac causes a traceback

Reported by: andreas@… Owned by: Jacob
Component: * Version:
Severity: trivial Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


Trying to replace a ticket attachement with a file of the same name causes a traceback:

Traceback (most recent call last):
  File "/usr/lib/python2.3/site-packages/trac/web/", line 205, in handler
    dispatch_request(mpr.path_info, mpr, env)
  File "/usr/lib/python2.3/site-packages/trac/web/", line 139, in dispatch_request
  File "/usr/lib/python2.3/site-packages/trac/web/", line 107, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/lib/python2.3/site-packages/trac/", line 265, in process_request
    self._do_save(req, attachment)
  File "/usr/lib/python2.3/site-packages/trac/", line 327, in _do_save
    perm_map = {'ticket': perm.TICKET_ADMIN,
AttributeError: 'module' object has no attribute 'TICKET_ADMIN'

Change History (2)

comment:1 Changed 13 years ago by Adrian Holovaty

priority: normallowest
Severity: normaltrivial

comment:2 Changed 13 years ago by Adrian Holovaty

Resolution: invalid
Status: newclosed

Closing because this may be a Trac bug, not a Django bug.

Note: See TracTickets for help on using tickets.
Back to Top