[Setup] Upgrade from Plone 4.0.2 to 4.2.4 failed

cschneider cschneid at uni-koblenz.de
Wed Apr 24 07:31:58 UTC 2013

Removing the add is not a solution because we have several pages in our =
hugh site which uses this addon: ContentPanels

We put a pdb and try/except in:


100             fti =3D self.getTypeInfo()
101             if fti is None:
102                 return None
103             else:
104                 import pdb; pdb.set_trace() # remove <vv
105  ->             try:
106                   tempFix =3D fti.getViewMethod(self)
107                   return tempFix
108                 except:
109                   return None # remove <^^
110                 return fti.getViewMethod(self)

Where fti is a <FactoryTypeInformation at =
/CMS/portal_types/ContentPanels> and fti.getViewMethod(self) throws the =

*** AttributeError: getViewMethod

fti.__dict__ has the following values

{'product': 'CMFContentPanels', 'content_icon': 'document_icon.gif', =
'global_allow': True, '_actions': (<ActionInformation at view>, =
<ActionInformation at edit>, <ActionInformation at metadata>, =
<ActionInformation at references>, <ActionInformation at layout>), =
'title': 'ContentPanels', '_aliases': {'edit': 'base_edit', =
'index.html': '(Default)', 'view': '(Default)', 'properties': =
'base_metadata', '(Default)': 'base_view'}, 'factory': =
'addContentPanels', 'allow_discussion': False, 'filter_content_types': =
False, 'content_meta_type': 'CMF Content Panels', 'immediate_view': =
'base_edit', '__ac_local_roles__': {'zopeadmin': ['Owner']}, 'id': =
'ContentPanels', 'description': 'ContentPanels is a portlet content to =
build composite page.'}

Hope there is any solution?

Universität Koblenz-Landau
Christian Schneider
Universitätsstraße 1
56070 Koblenz

Web: http://www.uni-koblenz-landau.de
E-Mail: christian.schneider at uni-koblenz.de
Tel: +49 261 287 1313
View this message in context: http://plone.293351.n2.nabble.com/Upgrade-from-Plone-4-0-2-to-4-2-4-failed-tp7564681p7564696.html
Sent from the Installation, Setup, Upgrades mailing list archive at Nabble.com.

More information about the Setup mailing list