Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/.net/21.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Plone 我更改了一个原型attr(field)名称,现在我';我收到了权限错误。我能做什么?_Plone - Fatal编程技术网

Plone 我更改了一个原型attr(field)名称,现在我';我收到了权限错误。我能做什么?

Plone 我更改了一个原型attr(field)名称,现在我';我收到了权限错误。我能做什么?,plone,Plone,我将内容类型中的属性(字段)命名为“string”,而不是“company” 我已经安装了我的产品,在看到此错误后,我在我的内容类型类中更改了它,重新安装了产品,运行了更新安全设置和更新目录。但我一直得到: Module Products.CMFPlone.utils, line 392, in _createObjectByType Module Products.CMFCore.TypesTool, line 290, in _finishConstruction Module Produc

我将内容类型中的属性(字段)命名为“string”,而不是“company”

我已经安装了我的产品,在看到此错误后,我在我的内容类型类中更改了它,重新安装了产品,运行了更新安全设置和更新目录。但我一直得到:

Module Products.CMFPlone.utils, line 392, in _createObjectByType
Module Products.CMFCore.TypesTool, line 290, in _finishConstruction
Module Products.CMFCore.CMFCatalogAware, line 148, in notifyWorkflowCreated
Module Products.CMFCore.WorkflowTool, line 291, in notifyCreated
Module Products.DCWorkflow.DCWorkflow, line 346, in notifyCreated
Module Products.DCWorkflow.DCWorkflow, line 430, in _changeStateOf
Module Products.DCWorkflow.DCWorkflow, line 529, in _executeTransition
Module Products.DCWorkflow.DCWorkflow, line 389, in updateRoleMappingsFor
Module Products.DCWorkflow.utils, line 64, in modifyRolesForPermission
Module AccessControl.Permission, line 92, in setRoles
AttributeError: string
既然我已经从我的内容类型中删除了这个字符串属性,那么如何删除它呢?我已经重新安装了产品,重新启动了实例,但我一直遇到同样的问题。思想?我可以删除我的
Data.fs
,因为它是一台开发机器,但如果它发生在生产站点,这将不是一个选项

PS:当我运行
bin/instance fg
时:

2011-07-28 19:01:59 WARNING Init Class mynamespace.mypackage.content.mycontent.MyContent has a security declaration for nonexistent method 'string'

我发现了问题。我在我的内容类中更改了,但在我的内容类型接口中没有更改


paster
创建一个
#-*-模式定义在这里-*-
interfaces.py上。我在我的产品目录上做了一个
grep字符串
,找到了它。

我不太明白这个问题。“重置”是什么意思?@Ross Patterson:我改为“删除”。