Plone/portal_workflow - 为什么我不能通过zope管理界面向我的工作流添加状态?

Pat*_*ney 2 zope plone plone-4.x

我正在制作一个工作流程,从简单发布工作流作为基础开始(复制并粘贴)并将其重命名为my_personal_workflow

id为my_personal_workflow标题为我的个人工作流程

在我的州,我添加了一个名为draft的状态(title是Draft,id是draft)并将其设置为默认状态,并删除了其他状态.目前我正在尝试添加另一个id为'awaiting_his_approval'的状态,但是当我点击Add时,我收到一条消息,而不是创建状态.

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>
Run Code Online (Sandbox Code Playgroud)

我不确定为什么会出现这个问题.我没有任何其他具有相同工作流程ID的州.是什么导致这个?

我正在使用Plone 4.3.

编辑:

这很奇怪.我点击后退按钮并再次提交.国家补充说.我知道情况并非如此,但似乎是随机的.

Ida*_*kes 5

这是形式的一个小缺陷:在输入字段中输入state-id后按下Return键时会发生错误.单击"添加"按钮时不会发生这种情况.

  • 对,BTW整个工作流程ZMI最近开始受到影响,特别是在Plone 5上 (2认同)