stops the workflow when the formdata status changes (fix #1615)

This commit is contained in:
Thomas NOËL 2012-09-03 10:06:27 +02:00
parent 1e375e1a7c
commit 35426af9af
1 changed files with 2 additions and 0 deletions

View File

@ -345,6 +345,8 @@ class WorkflowStatus:
old_status = formdata.status
for item in self.items:
url = item.perform(formdata) or url
if formdata.status != old_status:
break
if formdata.status != old_status:
if not formdata.evolution:
formdata.evolution = []