我已经使用 ploneformgen 来创建输入表单。当我尝试使用编辑选项卡在表单中使用 uwosk.pfg.d2c 适配器编辑保存的数据条目时,出现以下错误:
<FSControllerPythonScript at /MySite/update_version_on_edit used for /MySite/materials-requirement/material-requirement-form/requirement-for-approval/trial>
Line 11
Module Products.CMFEditions.utilities, line 109, in isObjectChanged
Module Products.CMFEditions.CopyModifyMergeRepositoryTool, line 415, in isUpToDate
Module Products.CMFEditions.ArchivistTool, line 396, in isUpToDate
Module Products.CMFEditions.ZVCStorageTool, line 308, in getModificationDate
Module Products.Archetypes.ExtensibleMetadata, line 455, in modified
Module Products.Archetypes.BaseObject, line 237, in getField
Module Products.Archetypes.BaseObject, line 821, in Schema
Module zope.component.hooks, line 104, in adapter_hook
Module archetypes.schemaextender.extender, line 146, in cachingInstanceSchemaFactory
Module archetypes.schemaextender.extender, line 186, in instanceSchemaFactory
Module plone.memoize.instance, line 51, in memogetter
Module uwosh.pfg.d2c.extender, line 217, in getFields
Module uwosh.pfg.d2c.content.dataentry, line 39, in getForm
Module uwosh.pfg.d2c.content.dataentry, line 53, in getFormAdapter
Module Products.CMFCore.utils, line 123, in getToolByName
AttributeError: uid_catalog
如何修复此错误。我需要这些步骤,因为我使用 GUI 或仅 ZMI。我使用 plone 4.1、ploneformgen 1.7.1 和 d2c 适配器 2.1.5