2011-12-22 69 views
1

最近我们注意到我们的Plone 3.3.5站点中的一些(已发布)文件夹在导航和文件夹列表视图中不再可见。尝试设置一种新的有效日期(它被设置在过去,所以这不是问题)对他们我得到一个KeyError异常:文件夹不在导航中显示,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 

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

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

非常感谢,谢谢!

回答

0

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