[ZODB-Dev] TmpStore missing loadBefore

Sidnei da Silva sidnei at enfoldsystems.com
Sun Jun 26 12:09:54 EDT 2005

We've hit a case where loadBefore would get called on TmpStore during
plone.org migration. 

Unfortunately TmpStore doesn't implement loadBefore. There seems to be
no tests for this. I tried to write one and provide a fix but just
occurred me that TmpStore tries to be a 'simpler FileStorage that
mixes with the current storage'.

Wouldn't it be simpler to make TmpStore subclass from FileStorage and
just delegate to the current storage where appropriate?
Sidnei da Silva
Enfold Systems, LLC.

More information about the ZODB-Dev mailing list