#3501: WebAdmin using Postgres cannot delete multiple components at once.
----------------------------+-----------------------------------------------
 Reporter:  [EMAIL PROTECTED]  |       Owner:  cmlenz
     Type:  defect          |      Status:  new   
 Priority:  normal          |   Milestone:        
Component:  webadmin        |     Version:  0.9.6 
 Severity:  normal          |    Keywords:        
----------------------------+-----------------------------------------------
 Using WebAdmin 0.1.2dev-r3580 on Trac 0.9.6 with Postgres 8.0.8.
  1. Log in as a user with TRAC_ADMIN permissions.
  1. Select Admin, Components.
  1. If there is only one current component, create a test component.
  1. Check two components and click the "Remove selected items" button.

 '''What should happen:''' both components get deleted.

 '''What does happen:'''
 {{{
 Oops...
 -------------------------------------
   Trac detected an internal error:

     can't adapt
 -------------------------------------
 If you think this really should work and you can reproduce it. Then you
 should consider to report this problem to the Trac team.

 Go to http://trac.edgewall.com/ and create a new ticket where you describe
 the problem, how to reproduce it. Don't forget to include the python
 traceback found below.

 TracGuide — The Trac User and Administration Guide
 Python traceback

 Traceback (most recent call last):
   File "/usr/lib64/python2.4/site-
 packages/trac/web/modpython_frontend.py", line 206, in handler
     dispatch_request(mpr.path_info, mpr, env)
   File "/usr/lib64/python2.4/site-packages/trac/web/main.py", line 139, in
 dispatch_request
     dispatcher.dispatch(req)
   File "/usr/lib64/python2.4/site-packages/trac/web/main.py", line 107, in
 dispatch
     resp = chosen_handler.process_request(req)
   File "/usr/lib64/python2.4/site-packages/TracWebAdmin-0.1.2dev_r3580-
 py2.4.egg/webadmin/web_ui.py", line 109, in process_request
     path_info)
   File "/usr/lib64/python2.4/site-packages/TracWebAdmin-0.1.2dev_r3580-
 py2.4.egg/webadmin/ticket.py", line 76, in process_admin_request
     comp = ticket.Component(self.env, name, db=db)
   File "/usr/lib64/python2.4/site-packages/trac/ticket/model.py", line
 417, in __init__
     "WHERE name=%s", (name,))
 ProgrammingError: can't adapt
 }}}

-- 
Ticket URL: <http://trac.edgewall.org/ticket/3501>
The Trac Project <http://trac.edgewall.com/>
_______________________________________________
Trac-Tickets mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac-tickets

Reply via email to