【发布时间】:2013-04-23 08:45:19
【问题描述】:
当我尝试将collective.geo.behavior 与我的敏捷内容类型(名为profilembre)一起使用时,我遇到了一个奇怪的问题。我使用文件系统的方式来创建内容类型(不是 TTW)。
如果没有collective.geo.behavior,我可以在Plone 站点的根目录或任何文件夹子项中创建profilmembre。没错。
使用collective.geo.behavior 行为,我可以在Plone 站点的根目录中创建profilmembre,但是如果在经典文件夹中创建此内容类型,我的plone 站点会崩溃(在浏览器中):
ValueError('No object with id "" exists.',) (Also, the following error occurred while attempting to render the standard error message, please see the event log for full details: No object with id "" exists.)
此消息不仅会出现在内容视图中,还会出现在整个网站(已损坏)
要恢复,我需要在 portal_catalog 中进行“清除并重建”。允许我在再次创建 memberprofile 时查看 memberprofil 和文件夹内容
(github上的项目:https://github.com/tristanlt/iuem.cargo)
这是创建内容后的调试跟踪:
Module zope.contentprovider.tales, line 77, in __call__
Module zope.viewlet.manager, line 112, in update
Module zope.viewlet.manager, line 118, in _updateViewlets
Module plone.app.layout.viewlets.common, line 187, in update
Module Products.CMFPlone.browser.navigation, line 183, in topLevelTabs
Module Products.CMFPlone.CatalogTool, line 428, in searchResults
Module Products.ZCatalog.ZCatalog, line 604, in searchResults
Module Products.ZCatalog.Catalog, line 907, in searchResults
Module Products.ZCatalog.Catalog, line 656, in search
Module Products.ZCatalog.Catalog, line 676, in sortResults
Module plone.app.folder.nogopip, line 104, in documentToKeyMap
Module plone.folder.ordered, line 102, in getObjectPosition
Module plone.folder.default, line 128, in getObjectPosition
ValueError: No object with id "" exists.
非常感谢。
【问题讨论】:
标签: geolocation plone zope dexterity