#2779: MiniFieldStorage instance has no attribute 'strip'
----------------------------------+-----------------------------------------
 Reporter:  [EMAIL PROTECTED]  |       Owner:  jonas
     Type:  defect                |      Status:  new  
 Priority:  high                  |   Milestone:       
Component:  ticket system         |     Version:  devel
 Severity:  blocker               |    Keywords:       
----------------------------------+-----------------------------------------
 Hello,

 in the workflow sandbox there are several bugs where string functions are
 called one MiniFieldStorage types. It seems that the wrong type
 (MiniFieldStorage) comes in where strings are expected. One sample: when i
 try to open a new ticket a got the following error:

 {{{
 Traceback (most recent call last):
   File "/devel/eapsh/local/lib/python2.4/site-
 packages/trac/web/standalone.py", line 282, in _do_trac_req
     dispatch_request(path_info, req, env)
   File "/devel/eapsh/local/lib/python2.4/site-packages/trac/web/main.py",
 line 142, in dispatch_request
     dispatcher.dispatch(req)
   File "/devel/eapsh/local/lib/python2.4/site-packages/trac/web/main.py",
 line 110, in dispatch
     resp = chosen_handler.process_request(req)
   File "/devel/eapsh/local/lib/python2.4/site-
 packages/trac/ticket/web_ui.py", line 122, in process_request
     ticket.populate(req.args)
   File "/devel/eapsh/local/lib/python2.4/site-
 packages/trac/ticket/model.py", line 125, in populate
     self[name] = values.get(name, '')
   File "/devel/eapsh/local/lib/python2.4/site-
 packages/trac/ticket/model.py", line 118, in __setitem__
     value = value.strip()
 AttributeError: MiniFieldStorage instance has no attribute 'strip'
 }}}

 Greetings
 Steffen Oschatz

-- 
Ticket URL: <http://projects.edgewall.com/trac/ticket/2779>
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