#690: Catwalk fail to change more than one FK label in manage columns
--------------------------------------+-------------------------------------
 Reporter:  [EMAIL PROTECTED]  |       Owner:  ronald Jaramillo
     Type:  defect                    |      Status:  new             
 Priority:  normal                    |   Milestone:  0.9a3           
Component:  Toolbox                   |     Version:  0.9a1           
 Severity:  normal                    |    Keywords:  CatWalk         
--------------------------------------+-------------------------------------
 "Manage Columns" functionality.
 It works fine for single changes but I get the following errors when I
 tried to modify and save two or more of the action "change the column
 to use as label" action:


 Page handler: <bound method Browse.save_columns of
 <turbogears.toolbox.catwalk.browse.Browse object at 0x40a2b98c>>
 Traceback (most recent call last):
   File
 "/usr/local/lib/python2.4/site-packages/CherryPy-2.2.0rc1-
 py2.4.egg/cherrypy/_cphttptools.py",
 line 99, in _run
     self.main()
   File
 "/usr/local/lib/python2.4/site-packages/CherryPy-2.2.0rc1-
 py2.4.egg/cherrypy/_cphttptools.py",
 line 248, in main
     body = page_handler(*virtual_path, **self.params)
   File "<string>", line 3, in save_columns
   File
 "/usr/local/lib/python2.4/site-packages/TurboGears-0.9a2-
 py2.4.egg/turbogears/controllers.py",
 line 207, in expose
     output = database.run_with_transaction(expose._expose,func, accept,
 allow_json, allow_json_from_config,*args, **kw)
   File
 "/usr/local/lib/python2.4/site-packages/TurboGears-0.9a2-
 py2.4.egg/turbogears/database.py",
 line 216, in run_with_transaction
     retval = func(*args, **kw)
   File "<string>", line 5, in _expose
   File
 "/usr/local/lib/python2.4/site-packages/TurboGears-0.9a2-
 py2.4.egg/turbogears/controllers.py",
 line 228, in <lambda>
     expose._expose.when(rule)(lambda _func, accept, allow_json,
 allow_json_from_config,*args,**kw: _execute_func(
   File
 "/usr/local/lib/python2.4/site-packages/TurboGears-0.9a2-
 py2.4.egg/turbogears/controllers.py",
 line 246, in _execute_func
     output = errorhandling.try_call(func, *args, **kw)
   File
 "/usr/local/lib/python2.4/site-packages/TurboGears-0.9a2-
 py2.4.egg/turbogears/errorhandling.py",
 line 59, in try_call
     output = func(self, *args, **kw)
   File
 "/usr/local/lib/python2.4/site-packages/TurboGears-0.9a2-
 py2.4.egg/turbogears/toolbox/catwalk/browse.py",
 line 44, in save_columns
     object,column_name = updated_fk_labels.split(':')
 ValueError: too many values to unpack

-- 
Ticket URL: <http://trac.turbogears.org/turbogears/ticket/690>
TurboGears <http://www.turbogears.org/>
TurboGears front-to-back web development
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears Tickets" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears-tickets
-~----------~----~----~----~------~----~------~--~---

Reply via email to