[Zope] Howto Upgrade a product ?

Dieter Maurer dieter@handshake.de
Wed, 9 Jan 2002 21:46:37 +0100


=?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