当我尝试在Plone 4上添加一个新的Event或News对象时,我收到了这个错误:(我不能在这里发布完整的错误堆栈,抱歉。)
{'container': <PloneSite at /default>,
'context': <Collection at /default/events/aggregator>,
'default': <object object at 0xb759f7e8>,
'here': <Collection at /default/events/aggregator>,
'loop': {u'field': <Products.PageTemplates.Expressions.PathIterator object at 0xda67c8c>,
u'fieldset': <Products.PageTemplates.Expressions.PathIterator object at 0xda6778c>},
'nothing': None,
'options': {'args': (),
'state': <Products.CMFFormController.ControllerState.ControllerState object at 0xda76dcc>},
'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0xdb02cfc>,
'request': <HTTPRequest, URL=http://216.24.198.146:8080/default/events/aggregator/atct_edit>,
'root': <Application at >,
'template': <FSControllerPageTemplate at /default/atct_edit used for /default/events/aggregator>,
'traverse_subpath': [],
'user': <PropertiedUser 'admin'>}
Module Products.PageTemplates.ZRPythonExpr, line 48, in __call__
__traceback_info__: context.widget(field.getName(), mode='edit')
Module PythonExpr, line 1, in <expression>
Module Products.Archetypes.BaseObject, line 287, in widget
Module Products.Archetypes.Renderer, line 26, in render
Module Products.Archetypes.generator.widget, line 147, in __call__
AttributeError: Macro querywidget does not exist for <Collection at aggregator>