1
私はカスタム製作された器用オブジェクトに正式なワークフローを適用しようとしています。ビルドアウトにはplone.app.versioningbehavior、collective.cmfeditionsdexteritycompat、collective.dexteritydiffがあります。 plone.app.stagingbehavior、plone.app.referenceablebehavior。敏捷性作業コピー(反復)とワークフローを持つコンテンツタイプ
私が見つけたのは、オブジェクトのコピー(copy_of_object)を作成しますが、作業コピー(オブジェクト)への参照が壊れていますか?この瞬間に、私は私の作業コピー(オブジェクト)に戻って、それは次のエラーを与える:
attributeError('getBRefs',) (Also, the following error occurred while attempting to render the standard error message, please see the event log for full details: getBRefs)
助けが素晴らしいだろう。ここに私の完全なトラックバックです
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 grokcore.view.components, line 100, in __call__
Module grokcore.view.components, line 104, in _render_template
Module five.grok.components, line 134, in render
Module zope.pagetemplate.pagetemplate, line 113, in pt_render
Module zope.tal.talinterpreter, line 271, in __call__
Module zope.tal.talinterpreter, line 343, in interpret
Module zope.tal.talinterpreter, line 888, in do_useMacro
Module zope.tal.talinterpreter, line 343, in interpret
Module zope.tal.talinterpreter, line 533, in do_optTag_tal
Module zope.tal.talinterpreter, line 518, in do_optTag
Module zope.tal.talinterpreter, line 513, in no_tag
Module zope.tal.talinterpreter, line 343, in interpret
Module zope.tal.talinterpreter, line 852, in do_condition
Module zope.tal.talinterpreter, line 343, in interpret
Module zope.tal.talinterpreter, line 742, in do_insertStructure_tal
Module Products.PageTemplates.Expressions, line 218, in evaluateStructure
Module zope.tales.tales, line 696, in evaluate
- URL: file:c:\web\panda\buildout\src\rcseng.theme\rcseng\theme\skins\rcseng_theme_custom_templates\main_template.pt
- Line 101, Column 12
- Expression: <StringExpr u'plone.abovecontent'>
- Names:
{'args':(),
'container': <Course at /riz/new-course>,
'context': <Course at /riz/new-course>,
'default': <object object at 0x0121E7F0>,
'here': <Course at /riz/new-course>,
'loop': {},
'nothing': None,
'options': {},
'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0x09DEED80>,
'request': <HTTPRequest, URL=http://localhost:8070/new-course/view>,
'root': <Application at >,
'static': <five.grok.components.ZopeTwoDirectoryResource object at 0x0989FD90>,
'template': <Products.Five.browser.pagetemplatefile.ViewPageTemplateFile object at 0x0934B850>,
'traverse_subpath': [],
'user': <PropertiedUser 'admin'>,
'view': <rcseng.contenttypes.course.Course_View object at 0x0989BCB0>,
'views': <Products.Five.browser.pagetemplatefile.ViewMapper object at 0x09201BF0>}
Module zope.contentprovider.tales, line 80, in __call__
Module plone.app.viewletmanager.manager, line 154, in render
Module plone.app.viewletmanager.manager, line 85, in render
Module ilrt.formalworkflow.browser.info, line 9, in render
Module plone.memoize.instance, line 51, in memogetter
Module plone.app.iterate.browser.info, line 107, in working_copy
AttributeError: getBRefs
巧妙な開発メーリングリストに投稿すると、より良い回答が得られるかもしれません。また、タイトルを「ワークフロー」から「作業コピー(反復)」に変更すると、より正確な関心が得られます。 – sdupton
ありがとう、私のメンバーシップは保留中ですので、私もそこに投稿します。 – WEBBYFOX
フォルダを作成してオブジェクトを作成するとうまく動作します。サイトルートレベルでこのエラーが発生する – WEBBYFOX