diff -r 600ee58a1375 -r 9036a8fbbd57 server/hooks.py --- a/server/hooks.py Thu Oct 08 11:44:06 2009 +0200 +++ b/server/hooks.py Thu Oct 08 11:58:19 2009 +0200 @@ -520,6 +520,7 @@ raise ValidationError(entity.eid, {'by_transition': msg}) if not tr.has_input_state(fromstate): msg = session._("transition isn't allowed") + print tr.name, fromstate.name, entity.by_transition raise ValidationError(entity.eid, {'by_transition': msg}) if not tr.may_be_fired(foreid): msg = session._("transition may not be fired")