Re: [SQLObject] Bug in CVS: .select() and dot q magic
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
From: Brad B. <br...@bb...> - 2003-10-15 20:09:47
|
(Sorry for the delayed response. I've been switching back and forth between a Zope app and this SQLObject/Webware-driven credit card processing system.) On Tuesday, October 14, 2003, at 04:58 PM, Ian Bicking wrote: > On Tuesday, October 14, 2003, at 03:11 PM, Brad Bollenbach wrote: >> Hi, >> >> So, in running off the bleeding edge version of CVS, the >> two-FK's-in-A-pointing-to-the-same-B problem went away, but >> (literally) all my tests broke. :/ > > >> The culprit is illustrated by the following snippet: [snip snippet] > Hmm... DBConnection.py:211 should be "q = sqlrepr(select.clause, > self.dbName)"... I'll need to do more tests before I'm sure that this > fixes it properly, though. I put this change in my copy (of the most recent CVS) and the five tests in my app's test suite that exercised this particular bug now pass. Thanks, -- Brad Bollenbach BBnet.ca |