Michel Pelletier wrote: > > Tim McLaughlin wrote: > > > > Thanks Chris, I'll hold on to that for a rainier day. I just worked > > this one out in a very roundabout way ;) > > > > A product had gotten copied in that moved a Product class from one > > module to another even though everything else was the same. It seems > > that ZODB doesn't like that. > > It sure doesn't. When it pickles an object, it says, here's a big > binary blob that is the state of the object. The code for the object > can be found in Products.MyProduct.MyModule.MyClass. When you move the > code, ZODB understandably barfs.
Shane's latest atch help here: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/zodbex/zodbex/ - ChangeModules will let you change the module and name of persisted class instances. This could be very beneficial when you have to change the name of a product. cheers, Chris _______________________________________________ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
