Plone - Migrating Tips
- Due to a zope bug, folders that contain controller page templates will need to be created first, then all of their contents copied over. Otherwise, a _cloned_object_path error is thrown.
- When copying controller page template, they lose their actions and validation. These need to be replaced on the new site.
Error
Output MIME type 'image/pcx' for transformSolution
image_to_pcx is not registered in the MIME types registry
- Temporarily move /usr/local/zope/instanceX/Products/PortalTransforms/transforms/image_to_pcx.py to another folder.
- Refresh Portal_Transforms in Control Panel -> Products, and try to import site.
- Replace /usr/local/zope/instanceX/Products/PortalTransforms/transforms/image_to_pcx.py
Error
AttributeError: isDefaultPageInFolderSolution
Add the following script(python) to your portal_skins/custom folder, named: 'isDefaultPageInFolder'
from Products.CMFCore.utils import getToolByName
ptool = getToolByName(context, 'plone_utils')
return ptool.isDefaultPage(context)
Problem
portal_migration does not migrate acl_users.
Solution
Try to force migrate from an older version of plone. Of course, do a dry run first.
Need assistance with your project? Universal Web Services can help.
Contact us to request a quote.