2017-02-20 62 views
2

我想提出一個工作流程,開始了與簡單的發佈工作流爲基礎(複製並粘貼它),並重新命名爲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。

編輯:

這很奇怪。我點擊後退按鈕並再次提交。國家增加了。我知道情況並非如此,但似乎是隨機的。

回答

5

這是一個有點缺陷的形式:在輸入字段中輸入狀態ID之後按下回車鍵時發生錯誤。它不會發生,點擊「添加」按鈕。

+2

對,順便說一下,整個工作流程ZMI最近開始遭遇問題,特別是在Plone 5 –

+1

我看到發生了什麼。當我點擊返回鍵時,它選擇了刪除按鈕。 謝謝。這可以解釋爲什麼我有時會讓它工作,因爲我在選擇「添加」和點擊返回之間交替。大聲笑 –

相關問題