ValueError: Disallowed subobject type: Topic for Products.PressRoom Plone 4.3

ValueError: Disallowed subobject type: Topic for Products.PressRoom Plone 4.3

我在 Plone 4.3.7 实例上安装了 Products.PressRoom 3.3。当我尝试在站点根目录创建新闻发布室时,我得到 ValueError: Disallowed subobject type: Topic

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.CMFFormController.FSControllerPythonScript, line 105, in __call__
Module Products.CMFFormController.Script, line 145, in __call__
Module Products.CMFCore.FSPythonScript, line 127, in __call__
Module Shared.DC.Scripts.Bindings, line 322, in __call__
Module Shared.DC.Scripts.Bindings, line 359, in _bindAndExec
Module Products.PythonScripts.PythonScript, line 344, in _exec
Module script, line 35, in createObject
- <FSControllerPythonScript at /le-temps-pour-toit-one/createObject>
- Line 35
Module Products.CMFCore.PortalFolder, line 292, in invokeFactory
Module Products.CMFCore.TypesTool, line 833, in constructContent
Module Products.CMFCore.TypesTool, line 311, in constructInstance
Module Products.CMFCore.TypesTool, line 552, in _constructInstance
Module Products.PressRoom.content.PressRoom, line 7, in addPressRoom
Module Products.PressRoom.content.PressRoom, line 135, in initializeArchetype
Module Products.PressRoom.content.PressRoom, line 166, in _createSubFolders
Module Products.ATContentTypes.lib.constraintypes, line 280, in invokeFactory
ValueError: Disallowed subobject type: Topic

谁能帮我解决这个问题?

谢谢

从 Plone 4.2 开始,Topic 内容类型已被弃用。

所以你可以:

  1. 启用旧样式 collections(就像您所做的那样),方法就是将其勾选为全局可添加。但是通过这种方式,您将在网站
  2. 中获得两个类型的collection
  3. 修复 PressRoom 包以使用 Collection 而不是 Topic。如果幸运的话,它会简单地 "just works"。考虑将问题作为问题打开 project issue tracker