On Tue, Dec 20, 2005 at 09:01:08PM -0500, Tim Peters wrote:
| [Sidnei da Silva]
| > I have a object that subclasses from Shared.DC.ZRDB.TM and it's bombing
| > with a 'TypeError: Savepoints unsupported' with Zope 2.8.
| 
| Please find a full traceback and share it.
| 
| > Should the Shared.DC.ZRDB.TM implement savepoints as a 'noop' maybe?
| 
| No -- "lying" would make matters worse.
| 
| > Note that some (all?) RDB adapters might depend on this class still.
| 
| Whether that matters largely depends on the traceback we haven't seen yet
| ;-)

Happens on line 632 of a current Zope 2.8 checkout:

                if not optimistic:
                    raise TypeError("Savepoints unsupported", datamanager)


'datamanager' is a MultiObjectResourceAdapter for a subclass of
Shared.DC.ZRDB.TM that was registered using the 'register' method of
the Transaction class.

-- 
Sidnei da Silva
Enfold Systems, LLC.
http://enfoldsystems.com
_______________________________________________
For more information about ZODB, see the ZODB Wiki:
http://www.zope.org/Wikis/ZODB/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zodb-dev

Reply via email to