1

我正在尝试将正式的工作流程应用于我们定制的灵巧对象。Buildout 有 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
4

1 回答 1

0

如果我在其中创建文件夹并创建对象,它工作正常。站点根级别它给出了这个错误

于 2013-06-07T12:10:06.743 回答