-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi list,
I'm in the progess of migrating content from a Plone 2.1.4 instance to Plone 3.1. This is no problem for all the instances of standard content types. The only problem I have, is that the site i'm migrating contains lots of GrufSpace objects. These must be "downgraded" to ATFolder instances (which are among the GrufSpace's parent classes). This is the code, I have so far: ~ portal_catalog = getToolByName(portal, 'portal_catalog') ~ groupspaces = portal_catalog(portal_type='GroupSpace') ~ for gs in groupspaces: ~ o = gs.getObject() ~ o.meta_type = 'ATFolder' ~ o.portal_type = 'Folder' ~ o.reindexObject() What else do I need to do, to have all GrufSpace instances "completly downgraded" to ATFolder instances? TIA, Andreas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIUsFH/IUfrcGW134RApfrAJwLQa9iqaesdnKuxbMDxh7KpFUfVQCgp2/K FZXoZlD8yXW1/iKv/ZCIY2k= =ppGZ -----END PGP SIGNATURE----- _______________________________________________ Product-Developers mailing list [email protected] http://lists.plone.org/mailman/listinfo/product-developers
