From: Brian Ray <bray@se...> - 2004-10-05 18:45:43
I am currently upgrading from SQLObject .5 to .6. Everything has been
working fine until I ran into the problem below.
# Works if .5 but not in .6:
name = StringCol()
foobar = MultipleJoin('foobar')
title = StringCol()
foo = ForeignKey('foo')
newbob = foo( name = 'bob')
newtitle = foobar(title = 'Programmer', foo = newbob)
bob = STDtables.foo.select(' name = 'bob')
if bob.foobar.title == 'Programmer':
AttributeError: 'foo' object has no attribute 'foobar'
Was I doing something wrong in the first place? How do I get this to
work with .6?
Thanks in advance, Brian
From: Andrew Bennetts <andrew-sqlobject@pu...> - 2004-10-07 13:18:11
On Tue, Oct 05, 2004 at 01:45:21PM -0500, Brian Ray wrote:
> I am currently upgrading from SQLObject .5 to .6. Everything has been
> working fine until I ran into the problem below.
This also looks like the bug fixed in r273. Try SQLObject from SVN.