Plone/portal_workflow - 为什么我无法通过zope管理界面向我的工作流添加状态?
问题描述:
我想提出一个工作流程,开始了与简单的发布工作流为基础(复制并粘贴它),并重新命名为my_personal_workflowPlone/portal_workflow - 为什么我无法通过zope管理界面向我的工作流添加状态?
id是my_personal_workflow 标题是我个人的工作流程
在我的状态,我添加了一个称为draft(标题为Draft,id为草稿)的状态并将其作为默认状态,并删除了其他状态。目前我正尝试添加另一个ID为'awaiting_his_approval'的状态,但是当我点击添加时,而不是创建状态时,我收到一条消息。
We’re sorry, but there seems to be an error…
Here is the full error message:
Display traceback as text
Traceback (innermost last):
Module ZPublisher.Publish, line 138, in publish
Module ZPublisher.mapply, line 72, in mapply
Module ZPublisher.Publish, line 53, in missing_name
Module ZPublisher.HTTPResponse, line 741, in badRequestError
BadRequest: <h2>Site Error</h2>
<p>An error was encountered while publishing this resource. </p>
<p><strong>Invalid request</strong></p>
The parameter, <em>ids</em>, was omitted from the request.
<p>Make sure to specify all required parameters, and try the request again.</p>
<hr noshade="noshade"/> <p>Troubleshooting Suggestions</p>
<ul> <li>The URL may be incorrect.</li>
<li>The parameters passed to this resource may be incorrect.</li>
<li>A resource that this resource relies on may be encountering an error.</li>
</ul>
<p>For more detailed information about the error, please refer
to the error log. </p> <p>If the error persists please contact the site
maintainer. Thank you for your patience. </p>
我不确定为什么会出现此问题。我没有任何其他国家有相同的工作流程ID。什么会导致这种情况?
我正在使用Plone 4.3。
编辑:
这很奇怪。我点击后退按钮并再次提交。国家增加了。我知道情况并非如此,但似乎是随机的。
答
这是一个有点缺陷的形式:在输入字段中输入状态ID之后按下回车键时发生错误。它不会发生,点击“添加”按钮。
对,顺便说一下,整个工作流程ZMI最近开始遭遇问题,特别是在Plone 5 –
我看到发生了什么。当我点击返回键时,它选择了删除按钮。 谢谢。这可以解释为什么我有时会让它工作,因为我在选择“添加”和点击返回之间交替。大声笑 –