[SQLObject] Re: autoCommit, PostgresConnection problems
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
From: Guenther S. <gs...@sy...> - 2003-12-21 15:39:02
|
=2D----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sunday 21 December 2003 14:09, Guenther Starnberger wrote: hi, > I digged a little bit around in the SQLObject source & found some things > which look like bugs to me (altough i'm not really sure :). Maybe someone > who understands the framework better than me can review these / resolve > them. just noticed another problem: The CacheFactory only creates self.cache if caching is enabled. When=20 'rollback' is called on a Transaction object it does (among other things): subCaches =3D [(sub, sub.allIDs()) for sub in self.cache.allSubCaches()] but the allIDs() method of the CacheFactory just returns self.cache.keys()= =20 without checking if caching is enabled which results in an AttributeError=20 beeing raised. cu /gst =2D----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQE/5b6OZtF7I/+gjcERAvu/AJ4i/oDsYbmKQkIdpBhgbRpJDsJgpACg1QF4 zIuOzPcRrBpGjtN+fOBGJJ0=3D =3DI234 =2D----END PGP SIGNATURE----- |