4

将 Plone 4.1 + Dexterity 站点迁移到 Plone 4.3 站点后,/manage_workspace 变得无法访问。无法执行数据库迁移。

ZMI 根目录仍然可以访问。

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__' 

也是@@plone-upgrade无法访问的。

需要任何想法或特殊迁移吗?

4

1 回答 1

8

在 Dexterity 2 中,默认不再安装关系字段支持(包括安装 intids 目录)。要获得它,您需要使用 [relations] 额外安装 Dexterity:

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

这记录在http://plone.org/documentation/manual/upgrade-guide/version/upgrading-plone-4.2-to-4.3/dexterity-optional-extras和 Dexterity 发行说明中。

于 2013-05-04T16:52:58.173 回答