Django

Code

Ticket #1325 (closed: invalid)

Opened 4 years ago

Last modified 4 years ago

Replacing a ticket attachement in Trac causes a traceback

Reported by: andreas@mindpicnic.com Assigned to: jacob
Milestone: Component: Django Web site
Version: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: 0 Needs documentation: 0
Needs tests: 0 Patch needs improvement: 0

Description

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/modpython_frontend.py", line 205, in handler
    dispatch_request(mpr.path_info, mpr, 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/attachment.py", line 265, in process_request
    self._do_save(req, attachment)
  File "/usr/lib/python2.3/site-packages/trac/attachment.py", line 327, in _do_save
    perm_map = {'ticket': perm.TICKET_ADMIN,
AttributeError: 'module' object has no attribute 'TICKET_ADMIN'

Attachments

Change History

02/18/06 15:03:55 changed by adrian

  • priority changed from normal to lowest.
  • severity changed from normal to trivial.

04/10/06 23:55:34 changed by adrian

  • status changed from new to closed.
  • resolution set to invalid.

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


Add/Change #1325 (Replacing a ticket attachement in Trac causes a traceback)




Change Properties
Action