无法向新Plone站点添加内容:ValueError:无法找到update_version_before_edit异常

use*_*000 8 plone

刚刚使用统一安装程序在CentOs上成功安装了Plone 4.2.1.登录后,我无法添加任何内容.

我收到以下错误:

Traceback (innermost last):

    Module ZPublisher.Publish, line 126, in publish
    Module ZPublisher.mapply, line 77, in mapply
    Module ZPublisher.Publish, line 46, in call_object
    Module Products.CMFPlone.FactoryTool, line 453, in __call__
    Module ZPublisher.mapply, line 77, in mapply
    Module ZPublisher.Publish, line 46, in call_object
    Module Products.CMFFormController.FSControllerPageTemplate, line 91, in __call__
    Module Products.CMFFormController.BaseControllerPageTemplate, line 28, in _call
    Module Products.CMFFormController.ControllerBase, line 231, in getNext
    Module Products.CMFFormController.Actions.TraverseTo, line 35, in __call__
ValueError: Unable to find update_version_before_edit 
Run Code Online (Sandbox Code Playgroud)

我已经运行了bin/buildout -n来更新组件.在此先感谢您的帮助.

Gia*_*oli 8

我今天和Plone 4.1.6有同样的问题.这是一个解决方法:

转到zmi - > portal_setup - >选项卡"导入" - >在下拉菜单中选择"CMFEditions" - >点击"导入所有步骤"按钮.

问题是由于某种原因,我还没找到,Product.CMFEditions的皮肤层没有在portal_skins中注册,因此当您尝试创建版本控制下的内容类型时,它会因此而失败.我会更深入地研究它,但同时这个技巧可以完成它的工作.


Mik*_*maa 0

update_version_before_edit 应参考 update_version_before_edit.py 脚本。

这个脚本

  • 您的磁盘上不存在(安装失败)

  • Zope管理界面>portal_skins配置错误(某种第三方主题干扰)

您能重复一下ZEO安装的问题吗?如果是,那么一定是某种 CentOS 安装程序错误未正确设置文件。