On 8/1/10 14:52 , Hanno Schlichting wrote: > Log message for revision 115322: > Removed catalog length migration code. Direct upgrades from Zope 2.7 and > earlier are no longer supported. > > > Changed: > U Zope/trunk/doc/CHANGES.rst > U Zope/trunk/src/HelpSys/HelpTopic.py > U Zope/trunk/src/Products/ZCatalog/Catalog.py > U Zope/trunk/src/Products/ZCatalog/ZCatalog.py > > -=- > Modified: Zope/trunk/doc/CHANGES.rst > =================================================================== > --- Zope/trunk/doc/CHANGES.rst 2010-08-01 12:37:42 UTC (rev 115321) > +++ Zope/trunk/doc/CHANGES.rst 2010-08-01 12:52:08 UTC (rev 115322) > @@ -35,6 +35,10 @@ > Restructuring > +++++++++++++ > > +- Removed catalog length migration code. You can no longer directly upgrade a > + Zope 2.7 or earlier database to Zope 2.13. Please upgrade to an earlier > + release first.
Shouldn't that be 2.8 and earlier? This bit suggests that: > - def migrate__len__(self): > - """ migration of old __len__ magic for Zope 2.8 """ > - if not hasattr(self, '_length'): > - n = self.__dict__['__len__']() > - del self.__dict__['__len__'] > - self._length = BTrees.Length.Length(n) > - Wichert. _______________________________________________ Zope-Checkins maillist - Zope-Checkins@zope.org https://mail.zope.org/mailman/listinfo/zope-checkins