MultipleJoin() attribute name fail on non-usual names (v0.6)
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
The problem is attribute name of a MultipleJoin seems
to get confused when the name is no "standard". I send
a testcase when this fails so you can understand the
problem (my english is not the best :).
I'm using Debian sarge, SQLObject version 0.6, and
SQLite (but it doesn't look like an SQLite issue,
that's why I didn't put it in SQLite category). I fails
on python 2.3 and 2.4.
Testcase
Logged In: NO
ERRATA:
In test.py replace 'addressesList' with 'addressList' (or
vice versa, just make the name consistent :).
Logged In: YES
user_id=4799
The attached test2.py works for me, no problem.
Counter-test
Logged In: NO
I've tryed svn version and works fine (both test.py and
test2.py).
It seems to be a bug in 0.6.
Logged In: YES
user_id=4799
Thank you. Closed.