-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Joachim Schmitz wrote:
> this is with CPS-3.3.6
> 
> I changed the Product name from CPSDocument to MyProduct in a
> portal_type, since I wanted overwrite the Title-function. This works
> fine for new instances of that Type. But naturally not for existing
> instances, what is the best way of migrating these instances. Copy and
> rename does not do the trick.
> 

Check out this :
CPSDocument/Extensions/upgrade.py

It does almost the job you're looking for I think.

        J.

- --
Julien Anguenot | Nuxeo R&D (Paris, France)
CPS Platform : http://www.cps-project.org
Zope3 / ECM   : http://www.z3lab.org
mail: anguenot at nuxeo.com; tel: +33 (0) 6 72 57 57 66
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFDeA0tGhoG8MxZ/pIRAr7/AJ97ZkB8pRA8rFIdDMRmhr8g4RJ6IACfT5df
uPmhiAhgl/O9roTqDX1okYM=
=fQrQ
-----END PGP SIGNATURE-----
_______________________________________________
cps-devel mailing list
http://lists.nuxeo.com/mailman/listinfo/cps-devel

Reply via email to