2013-05-04 31 views
4

將Plone 4.1 +敏捷站點遷移到Plone 4.3後,站點的/ manage_workspace變得無法訪問。數據庫遷移無法執行。Plone 4.3遷移 - AttributeError:類型對象'IIntIds'沒有屬性'__iro__'

仍然可以訪問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無法訪問。

任何想法或特殊遷移需要?

+0

IsIds仍被Dexterity等人使用。還是我可以從數據庫中撕掉它? – 2013-05-04 07:42:55

回答

8

在敏捷2中,缺省情況下不再安裝關係字段支持(其中包括安裝intids目錄)。爲了得到它,你需要安裝使用[關係]敏捷額外的:

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

這是在http://plone.org/documentation/manual/upgrade-guide/version/upgrading-plone-4.2-to-4.3/dexterity-optional-extras並在敏捷發行說明文件。

+2

非常感謝。棘手的部分是將異常追溯映射到發佈筆記。我已經更新了安裝手冊:http://plone.org/documentation/manual/upgrade-guide/version/upgrading-plone-4.2-to-4.3/changed-imports-and-functions – 2013-05-05 17:00:12

相關問題