I have a class declared like this:

class Project(SQLObject):
    name = StringCol(length=40)
    roles = MultipleJoin('AssignedRole')
    tasks = MultipleJoin('Task')

I have been using this setup fine on a build I svn up'd yesterday.

Now, the disclosure triangle in CatWalk's Browse  (for the manager)
links to the code:

javascript:catwalk.retrieveJoins('Project','1','roles','SOMultipleJoin',
'AssignedRole')

which throws up:
2006/01/09 10:22:44  INFO Traceback (most recent call last):
  File
"/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/CherryPy-2.1.0-py2.4.egg/cherrypy/_cphttptools.py",
line 271, in run
    main()
  File
"/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/CherryPy-2.1.0-py2.4.egg/cherrypy/_cphttptools.py",
line 502, in main
    body = page_handler(*args, **cherrypy.request.paramMap)
  File
"/Users/ssteiner/TurboGears/turbogears/turbogears/controllers.py", line
240, in newfunc
    html, fragment, *args, **kw)
  File "/Users/ssteiner/TurboGears/turbogears/turbogears/database.py",
line 189, in run_with_transaction
    retval = func(*args, **kw)
  File
"/Users/ssteiner/TurboGears/turbogears/turbogears/controllers.py", line
257, in _execute_func
    output = func(self, *args, **kw)
TypeError: joins() got an unexpected keyword argument 'start'


The code that is attached to the disclosure triangle on the working
CatWalk (on another computer) is:

javascript:catwalk.toggleJoins('roles')

Is this a new CatWalk bug?  The non-working version of this code used
to be invoked if there was no corresponding ForeignKey() declaration in
the target of a MultipleJoin() but now seems to be there for valid
MultipleJoins() as well.

Thanks,

Steve

Reply via email to