appy.gen: bugfixes in the new workflow engine and in macro 'history'.
This commit is contained in:
parent
1cd9aaaf69
commit
5be03c2ed4
4 changed files with 16 additions and 6 deletions
|
@ -951,7 +951,7 @@ class BaseMixin:
|
|||
# Is this transition triggerable?
|
||||
transition = getattr(wf, transitionName)
|
||||
if not transition.isTriggerable(self, wf):
|
||||
raise 'Transition "%s" can\'t be triggered' % transitionName
|
||||
raise 'Transition "%s" can\'t be triggered.' % transitionName
|
||||
# Trigger the transition
|
||||
transition.trigger(transitionName, self, wf, comment, doAction=doAction,
|
||||
doNotify=doNotify, doHistory=doHistory, doSay=doSay)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue