branch | stable |
changeset 3628 | 440931181322 |
parent 3618 | ad04840ab25c |
child 3662 | 9eeadad82d93 |
--- a/server/hooks.py Fri Oct 09 15:53:42 2009 +0200 +++ b/server/hooks.py Fri Oct 09 16:31:06 2009 +0200 @@ -559,7 +559,7 @@ # inconsistency detected msg = entity.req._("state doesn't belong to entity's current workflow") raise ValidationError(entity.eid, {'to_state': msg}) - tostate = wftr.get_exit_point(entity['to_state']) + tostate = wftr.get_exit_point(forentity, entity['to_state']) if tostate is not None: # reached an exit point msg = session._('exiting from subworkflow %s')