When a zope object based product exists, and this products is upgraded, many times the old format is not compatible with the new format, so the the old objects appears as broken in the ZMI. Is there a way to upgrade easily this kind of objects ? I was thinking on an intermediate object (that's why I asked about if there is a persistent dictionary product in Zope in my last email) -- __o _ \<_ (_)/(_) Saludos de Julián EA4ACL -.-
=?ISO-8859-1?Q?Juli=E1n_Mu=F1oz_Dom=EDnguez?= writes:
When a zope object based product exists, and this products is upgraded, many times the old format is not compatible with the new format, so the the old objects appears as broken in the ZMI.
Is there a way to upgrade easily this kind of objects ? Chris Withers has a upgrading framework (--> mailing list archives, maybe search on Zope.org). However, as nobody can know in what ways you changed your products, you need to provide the true upgrading code.
An alternative is to play with the "__setstate__" method. There is probably a HowTo on Zope.org. Dieter
participants (2)
-
Dieter Maurer -
Julián Muñoz Domínguez