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.
For more information about ZODB, see the ZODB Wiki:

ZODB-Dev mailing list  -  ZODB-Dev@zope.org

Reply via email to