迁移后 Plone 上的奇怪行为
Weird behaviour on Plone after migration
从 Plone 3.3.2 迁移到 4.3.6 后,访问论坛项目时的结果很简单:
<Products.Five.metaclass.ConversationView object at 0x7f24404e3a50>
没有跟踪、错误或日志条目。
使用的 buildout.cfg 文件包含以下内容:
eggs =
Plone
Pillow
archetypes.kss
collective.captcha
plone.app.caching
plone.app.discussion
plone.app.registry
plone.app.kss
plone.openid
plone.registry
Products.ATReferenceBrowserWidget
Products.Clouseau
Products.CMFNotification
Products.CMFPlacefulWorkflow
Products.DocFinderTab
Products.kupu
Products.NuPlone
Products.Ploneboard
Products.PloneboardNotify
Products.PloneFormGen
Products.ResourceRegistries
Products.SimpleAttachment
zope.app.container
zope.app.cache
zope.app.component
zope.app.pagetemplate
zope.app.publisher
zope.copypastemove
zope.dublincore
zope.hookable
...
[versions]
buildout.sanitycheck = 1.0b1
Cheetah = 2.2.1
collective.recipe.backup = 2.20
Pillow = 2.6.1
plone.recipe.command = 1.1
plone.recipe.unifiedinstaller = 4.3.2
Products.DocFinderTab = 1.0.5
setuptools = 7.0
zc.buildout = 2.2.5
ZopeSkel = 2.21.2
zopeskel.dexterity = 1.5.4.1
zopeskel.diazotheme = 1.1
Products.Ploneboard = 3.4
知道是什么原因造成的吗?
提前致谢,
对象的默认视图似乎有问题。
签入 ZMI -> portal_types -> 你的内容类型
@joao 默认情况下,"Discussion Item" 类型与 plone 一起提供。它与 ploneboard 无关。
根据the type definition
对话类型应使用 conversation_browserview
作为默认视图。
尝试调用 url http://yoursite/path/to/forum/conversation/@@conversation_browserview
如果这没有问题,您需要更新 portal_types 中的 PloneboardConversation
以将此视图用作默认视图。
如果您仍然遇到错误,请尝试使用 master 提供的最新代码,如果错误仍然存在,请提交工单。
从 Plone 3.3.2 迁移到 4.3.6 后,访问论坛项目时的结果很简单:
<Products.Five.metaclass.ConversationView object at 0x7f24404e3a50>
没有跟踪、错误或日志条目。
使用的 buildout.cfg 文件包含以下内容:
eggs =
Plone
Pillow
archetypes.kss
collective.captcha
plone.app.caching
plone.app.discussion
plone.app.registry
plone.app.kss
plone.openid
plone.registry
Products.ATReferenceBrowserWidget
Products.Clouseau
Products.CMFNotification
Products.CMFPlacefulWorkflow
Products.DocFinderTab
Products.kupu
Products.NuPlone
Products.Ploneboard
Products.PloneboardNotify
Products.PloneFormGen
Products.ResourceRegistries
Products.SimpleAttachment
zope.app.container
zope.app.cache
zope.app.component
zope.app.pagetemplate
zope.app.publisher
zope.copypastemove
zope.dublincore
zope.hookable
...
[versions]
buildout.sanitycheck = 1.0b1
Cheetah = 2.2.1
collective.recipe.backup = 2.20
Pillow = 2.6.1
plone.recipe.command = 1.1
plone.recipe.unifiedinstaller = 4.3.2
Products.DocFinderTab = 1.0.5
setuptools = 7.0
zc.buildout = 2.2.5
ZopeSkel = 2.21.2
zopeskel.dexterity = 1.5.4.1
zopeskel.diazotheme = 1.1
Products.Ploneboard = 3.4
知道是什么原因造成的吗?
提前致谢,
对象的默认视图似乎有问题。 签入 ZMI -> portal_types -> 你的内容类型
@joao 默认情况下,"Discussion Item" 类型与 plone 一起提供。它与 ploneboard 无关。
根据the type definition
对话类型应使用 conversation_browserview
作为默认视图。
尝试调用 url http://yoursite/path/to/forum/conversation/@@conversation_browserview
如果这没有问题,您需要更新 portal_types 中的 PloneboardConversation
以将此视图用作默认视图。
如果您仍然遇到错误,请尝试使用 master 提供的最新代码,如果错误仍然存在,请提交工单。