Plone 4.3 migration - AttributeError: object type 'IIntIds' does not have attribute '__iro__'

After migration, Plone 4.1 + Site Dexterity Plone 4.3 site / manage_workspace becomes inaccessible. Cannot perform database migration.

Access to the ZMI root can still be obtained.

Traceback (innermost last): Module ZPublisher.Publish, line 237, in publish_module_standard Module ZPublisher.Publish, line 179, in publish Module zope.event, line 31, in notify Module zope.component.event, line 24, in dispatch Module zope.component._api, line 136, in subscribers Module zope.component.registry, line 321, in subscribers Module zope.interface.adapter, line 585, in subscribers Module plone.transformchain.zpublisher, line 119, in applyTransformOnFailure Module plone.transformchain.zpublisher, line 79, in applyTransformOnSuccess Module plone.transformchain.zpublisher, line 55, in applyTransform Module zope.component._api, line 172, in queryUtility Module zope.component.registry, line 163, in queryUtility Module ZODB.Connection, line 860, in setstate Module ZODB.Connection, line 914, in _setstate Module ZODB.serialize, line 613, in setGhostState Module zope.component.persistentregistry, line 40, in __setstate__ Module zope.interface.adapter, line 91, in _createLookup Module zope.interface.adapter, line 439, in __init__ Module zope.interface.adapter, line 476, in init_extendors Module zope.interface.adapter, line 480, in add_extendor AttributeError: type object 'IIntIds' has no attribute '__iro__' 

Also @@plone-upgrade not available.

Any ideas or special migrations needed?

+4
source share
1 answer

In Dexterity 2, support for the relationship field (which includes setting the insider directory) is no longer installed by default. To get it, you need to set Dexterity with additional parameters:

 [instance] eggs = plone.app.dexterity [relations] 

This is described in http://plone.org/documentation/manual/upgrade-guide/version/upgrading-plone-4.2-to-4.3/dexterity-optional-extras and in the Dexterity release notes.

+8
source

Source: https://habr.com/ru/post/1479108/


All Articles