Miles Waller wrote at 2006-6-12 16:58 +0100:
>Does anyone have a good approach to changing the class of an object
>already stored in the ZODB?
This is *very* difficult.
The main problem is that the class is usually coded (for efficiency
reasons) in the
persistent references to an object. As soo
To confirm, I *just* want to change the class - attribute values, name
and state information can remain exactly the same.
XML import/export is a good approach which I need to think about a bit
more. On the face of it, the data.fs is well over 1Gb in size after
packing, and so is likely to cre
and replace it with
"Products.MyProduct.NewClass".
J.F.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Miles Waller
Sent: June 12, 2006 11:58 AM
To: zope@zope.org
Subject: [Zope] Changing class of objects in the ZODB
Hi,
Does anyone have a good approach to c
Hi,
Does anyone have a good approach to changing the class of an object
already stored in the ZODB?
A site is using classes defined and customised in a product on the
filesystem, and I want to split the product into two to separate the
unmodified vanilla product, and customisations. I found