29 Sep
2005
29 Sep
'05
10:45 a.m.
Hello Victor Safronovich, Thursday, September 29, 2005, 4:03:17 PM, you wrote: VS> I think __setattr__ and __setstate__ overriden by ExtensionClass, but needfully VS> must be from Persistent. Or classFactory must return VS> ZODB.broken.{Persistent}Broken objects I changed BrolenClass.__bases__ from Acquisition.Explicit, SimpleItem.Item, Persistence.Overridable to Persistence.Overridable, Acquisition.Explicit, SimpleItem.Item, but this is not helped to load state. BUT the code below works :)) shed = app.portal.portal_scheduler # 'shed' is broken object con = shed._p_jar con._setstate( shed ) # this load state successfully -- Best regards, Victor Safronovich NauMen.NauDoc.SoftwareDeveloper http://www.naumen.ru