我在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
任何人都可以帮我解决这个问题吗?
谢谢
答案 0 :(得分:2)
从Plone 4.2开始,不推荐使用Collection
内容类型。
所以你可以:
Topic
而不是{{1}}。如果你很幸运,它只会“正常”。考虑将问题打开到project issue tracker也