Edgewall Software
Modify

Opened 20 years ago

Closed 20 years ago

#1519 closed defect (fixed)

Deleting attachment from Wiki fails

Reported by: muti@… Owned by: Christopher Lenz
Priority: normal Milestone: 0.9
Component: wiki system Version: devel
Severity: major Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

I'm guessing that merging the new branch has broken this. Deleting an attachment raises an error message. I'm running r1608.

Trac detected an internal error: 

db
Python traceback

Traceback (most recent call last):
  File "/usr/lib/python2.3/site-packages/trac/web/cgi_frontend.py", line 103, in run
    dispatch_request(os.getenv('PATH_INFO', ''), req, env)
  File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 311, in dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 190, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/lib/python2.3/site-packages/trac/attachment.py", line 76, in process_request
    self.delete_attachment(req, parent_type, parent_id, filename)
  File "/usr/lib/python2.3/site-packages/trac/attachment.py", line 130, in delete_attachment
    self.env.delete_attachment(self.db, parent_type, parent_id, filename)
  File "/usr/lib/python2.3/site-packages/trac/core.py", line 138, in __getattr__
    raise AttributeError, name
AttributeError: db

Attachments (0)

Change History (2)

comment:1 by Christopher Lenz, 20 years ago

Owner: changed from Jonas Borgström to Christopher Lenz
Severity: normalmajor
Status: newassigned

comment:2 by Christopher Lenz, 20 years ago

Resolution: fixed
Status: assignedclosed

Fixed in [1609].

Modify Ticket

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