编辑时,文件夹不会显示在导航,KeyError中

时间:2011-12-22 16:06:24

标签: plone

最近我们注意到Plone 3.3.5网站中的某些(已发布)文件夹在导航和文件夹列表视图中不再可见。在尝试设置一个新的生效日期(它在过去设置,因此这不是问题)时,我得到一个KeyError:

Traceback (innermost last):
 Module ZPublisher.Publish, line 125, in publish
 Module Zope2.App.startup, line 238, in commit
 Module transaction._manager, line 96, in commit
 Module transaction._transaction, line 389, in commit
 Module transaction._transaction, line 445, in _callBeforeCommitHooks
 Module collective.indexing.transactions, line 57, in before_commit
 Module collective.indexing.queue, line 149, in process
 Module collective.indexing.indexer, line 89, in unindex
 Module collective.indexing.indexer, line 71, in unindex
 Module Products.CMFSquidTool.queue, line 160, in unindexObject
 Module Products.CMFSquidTool.patch, line 24, in call
 Module Products.Archetypes.CatalogMultiplex, line 49, in unindexObject
 Module Products.CMFPlone.CatalogTool, line 445, in uncatalog_object
 Module Products.CacheSetup.patch, line 109, in uncatalog_object
 Module Products.CacheSetup.patch_utils, line 6, in call
 Module Products.ZCatalog.ZCatalog, line 569, in uncatalog_object
 Module Products.ZCatalog.Catalog, line 390, in uncatalogObject
 Module Products.PluginIndexes.DateRangeIndex.DateRangeIndex, line 192, in unindex_object
 Module Products.PluginIndexes.DateRangeIndex.DateRangeIndex, line 391, in _removeForwardIndexEntry
KeyError: -1666126693

在某些情况下,其他操作也会触发相同的错误。

最近将发生这种情况的父文件夹剪切并粘贴到网站的当前位置,也许这​​与它有关。

非常感谢,谢谢!

1 个答案:

答案 0 :(得分:0)

尝试重建目录,它可以提供帮助,目录中似乎有一些孤儿对象。