Hi, I try your model with the current revision and fail to reproduce
the error, can you mail me your model file?
Cheers
Ronald
On Jan 8, 2006, at 8:36 PM, ssteiner wrote:
I have a class declared like this:
class Project(SQLObject):
name = StringCol(length=40)
client = ForeignKey('Client')
manager = MultipleJoin('Person')
roles = MultipleJoin('AssignedRole')
tasks = MultipleJoin('Task')
When browsing the table in Catwalk, 'tasks' show up first, 'roles'
second, 'manager' third.
The tasks and roles work as expected, the disclosure triangle opens
and
closes the list of joined records and there's an 'Add Multiple Join'
button.
The manager disclosure triangle, however, throws up an error dialog
with the following text:
Error, joins objectName: Project, id: 1, join: manager
While trying to hunt this down, I noticed that the code invoked for
the
working disclosure triangles is:
javascript:catwalk.toggleJoins('tasks')
Whereas, for the not working one, the code is:
javascript:catwalk.retrieveJoins
('Project','1','manager','SOMultipleJoin',
'Person')
Anyone have a clue why what is ostensibly the same setup would invoke
different code in CatWalk?
Thanks,
Steve
________________________________
Ronald Jaramillo
mail: ronald AT checkandshare DOT com
blog: http://www.checkandshare.com/blog