[Zope] rename meta_type
Dieter Maurer
dieter at handshake.de
Fri Feb 8 16:34:03 EST 2008
David Chelimsky wrote at 2008-2-7 13:17 -0600:
>I have a product in use on many of my client sites. I'd like to rename
>the meta_type of one of the classes, but I notice that when I do, the
>pre-existing objects retain their old meta_type.
Then these instances misbehave: they have assigned the "meta_type"
attribute themselves rather than used the class level attribute
(which they should have done).
>Is there a way for me to force a zope object to "reset" itself
>according to a modified class definition?
You must locate the object and delete the instance level
attribute.
--
Dieter
More information about the Zope
mailing list