[Setup] Re: Migrating ATCT 0.2.0 types back to CMF types before migrating to Plone 2.1.1?
Raphael Ritz
r.ritz at biologie.hu-berlin.de
Tue Nov 15 09:25:53 UTC 2005
Hamish Lawson wrote:
> Some time back I installed ATCT 0.2.0 on our Plone 2.0.5 site but didn't
> switch it to being the default. I now want to migrate some of the
> content to a fresh Plone 2.1.1 installation. After importing into the
> Plone 2.1.1 site I performed an ATCT migration (with updating of the
> catalog where directed). The items that were CMF-based seem to have been
> migrated successfully work and now work fine, but the ATCT 0.2.0 ones
> still have "AT" as part of their type name and are giving a "'NoneType'
> object has no attribute 'getId'" error. I'm therefore thinking about
> converting the ATCT items to CMF types on the Plone 2.0.5 site before
> exporting themn to the Plone 2.1.1 site; is that kind of reverse
> migration available?
No (not that I know a tleast) :-(
Quoting ATContentTypes/tool/migration.py:
...
def enableCMFTypes(self):
"""Enable CMF types
NOTE: Enabling CMF types leaves all ATCT based types in an
insane state!
Maybe we should rename the types:
atct_bak_pt = 'AT %s' % cmf_pt
self._changePortalTypeName(cmf_pt, atct_bak_pt,
global_allow=False)
The feature isn't in the code because we don't support uninstall.
"""
...
Raphael
>
>
> Hamish Lawson
> University of St Andrews
More information about the Setup
mailing list