[Zope] live meta_type upgrading?

Reini Urban rurban@xarch.tu-graz.ac.at
Fri, 27 Jul 2001 01:31:02 +0200 (CEST)


Is it possible to change object types of existing objects?

My naive idea is just to search/replace each meta_type for all objects in a
container as with the ReplaceSupport Product. But this changes only the content not
such an important attribute.

Such a TypeChange product could check for needed methods and properties and
change them (update, delete, insert) on the fly as well. This way the
content and children need to be changed (export/re-import or cut/paste).

Use Case:
  Change some folders BTree Folders, ...
  Change some DTML Documents to DTML Methods, ...
  Change some ZClasses to real products.

--
Reini Urban
http://xarch.tu-graz.ac.at/home/rurban/
http://tv.mur.at