Migration Fails with 'Id "news" is invalid'

classic Classic list List threaded Threaded
1 message Options
dthomas218 dthomas218
Reply | Threaded
Open this post in threaded view

Migration Fails with 'Id "news" is invalid'

This is a followup to another post, last month Luis also could not migrate from
2.05 to 2.1 or 2.1.1.

Using my various Plone instances or the (never changed, out-of-the-box) instance
called Plone, the migration fails (see below). Each instance contains exactly
one item called news (news.pt), in plone_skins/portal_templates.

Thanks in advance for your help!


#  Installed PortalTransforms.
# Installed Archetypes.
#  Installed ATContentTypes.
# Upgrade to: 2.1-alpha1, completed
# Attempting to upgrade from: 2.1-alpha1
# Upgrade aborted
# Error type: zExceptions.BadRequest
# Error value: The id "news" is invalid - it is already in use.
# File "C:\Program Files\Plone 2\Data\Products\CMFPlone\MigrationTool.py", line
265, in upgrade newv, msgs = self._upgrade(newv)
# File "C:\Program Files\Plone 2\Data\Products\CMFPlone\MigrationTool.py", line
362, in _upgrade res = function(self.aq_parent)
# File "C:\Program Files\Plone
2\Data\Products\CMFPlone\migrations\v2_1\alphas.py", line 160, in alpha1_alpha2
addNewsFolder(portal, out)
# File "C:\Program Files\Plone
2\Data\Products\CMFPlone\migrations\v2_1\alphas.py", line 680, in addNewsFolder
title='News', description='Site News')
# File "C:\Program Files\Plone 2\Data\Products\CMFPlone\utils.py", line 128, in
_createObjectByType m(id, *args, **kw)
# File "<string>", line 4, in addATBTreeFolder
# File "C:\Program Files\Plone 2\Zope\lib\python\OFS\ObjectManager.py", line
248, in _setObject v=self._checkId(id)
# File "C:\Program Files\Plone 2\Data\Products\CMFCore\Skinnable.py", line 204,
in _checkId return superCheckId(self, id, allow_dup)
# File "C:\Program Files\Plone 2\Zope\lib\python\OFS\ObjectManager.py", line 81,
in checkValidId raise BadRequest, (
# End of upgrade path, migration has finished
# The upgrade path did NOT reach current version
# Migration has failed

This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
Plone-users mailing list
[hidden email]