On Fri, Sep 18, 2009 at 1:24 AM, Gonzalo <[email protected]> wrote: > > I have a process with the following code in it: > > [...] > _cancel_process :if => "${f:_action} == cancel" > [...] > > If I don't provide in the workitem the field "_action", when this > expression is evaluated, the following line appears in 'logs/ > ruoterest_development' > > OpenWFE::CancelProcessExpression - do_eval_condition() e : > parse error on value s("==") (tEQ) > > I don't know if this is an error or just the right behaviour of the > engine.
Hello Gonzalo, thanks for reporting this issue. I have added two tests about it http://github.com/jmettraux/ruote/commit/b346bad8b00571bb9df0e0eb68c082eccab2b352 but unfortunately, the tests do behave as expected, I can't reproduce your issue. Maybe you have an older version of ruote 0.9.x. The code showing the bad behaviour hasn't changed since March. http://github.com/jmettraux/ruote/commits/master/lib/openwfe/expressions/condition.rb http://github.com/jmettraux/ruote/commits/master/lib/openwfe/expressions/fe_cancel.rb I have tried as well to assign the nil value to the _action field as well as an empty string, but still, "cancel_process" is not triggered. Best regards, -- John Mettraux - http://jmettraux.wordpress.com --~--~---------~--~----~------------~-------~--~----~ you received this message because you are subscribed to the "ruote users" group. to post : send email to [email protected] to unsubscribe : send email to [email protected] more options : http://groups.google.com/group/openwferu-users?hl=en -~----------~----~----~----~------~----~------~--~---
