Monday, July 5, 2010

AttributeError: <ATFolder at ...> has no assigned layout, perhaps it needs an FTI

Recently as part of migrating a large site, I moved a lot of content from a rather ancient version of Plone (2.5) to Plone 4. When navigating to some of the folders after migration, I came across the following error.

It appears that the portal_type for these folders was set to "ATFolder" rather than just "Folder". This also has the effect of the portal_icon showing up with the default one for DTML documents (Has <> in the icon) in the ZMI.

I then fixed with the the [fix_portal_type] buildout step using the magnificent collective.migrator.

No comments:

Post a Comment