Modify ↓
      
Opened 21 years ago
Closed 21 years ago
#1519 closed defect (fixed)
Deleting attachment from Wiki fails
| Reported by: | 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 , 21 years ago
| Owner: | changed from to | 
|---|---|
| Severity: | normal → major | 
| Status: | new → assigned | 
comment:2 by , 21 years ago
| Resolution: | → fixed | 
|---|---|
| Status: | assigned → closed | 
  Note:
 See   TracTickets
 for help on using tickets.
    


  
Fixed in [1609].