几天后,如果我重建了portal_catalog
,我会得到以下错误Traceback (innermost last):
Module ZPublisher.Publish, line 138, in publish
Module ZPublisher.mapply, line 77, in mapply
Module ZPublisher.Publish, line 48, in call_object
Module Products.CMFPlone.CatalogTool, line 446, in manage_catalogRebuild
Module plone.app.discussion.patches, line 47, in patchedClearFindAndRebuild
Module OFS.FindSupport, line 239, in ZopeFindAndApply
Module OFS.FindSupport, line 198, in ZopeFindAndApply
Module Products.ZCatalog.Lazy, line 190, in __getitem__
Module plone.folder.ordered, line 94, in <lambda>
Module plone.folder.ordered, line 59, in _getOb
AttributeError: 'portal_setup'
有没有人有想法,有什么可能是错的?
Plone 4.3.4
答案 0 :(得分:1)
旧语言根文件夹实现在文件夹的IOrdering中留下了垃圾ID。这需要手动清理。这里的示例https://gist.github.com/jensens/356ab35614c4c0a7c626d8ba4a7a8479 - 您可能需要将值附加到黑名单,具体取决于安装的语言和插件。