Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Ticket #690 (closed defect: fixed)

Opened 12 years ago

Last modified 10 years ago

Catwalk fail to change more than one FK label in manage columns

Reported by: ronald@… Owned by: ronald Jaramillo
Priority: normal Milestone: 0.9a3
Component: Toolbox Version: 0.9a1
Severity: normal Keywords: CatWalk
Cc:

Description

"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

Change History

comment:1 Changed 12 years ago by ronald@…

  • Status changed from new to closed
  • Resolution set to fixed

sorry for the noise, fixed in rev1036

Note: See TracTickets for help on using tickets.