Hi folks,
When upgrading to v2.3.0.1, one of our workflow fails at the following
expression:
operation :if => "${f:operation_level} == 1", :level => 1
with the workitem has the field {"operation_level":1}
The errror that occurs is:
#<NoMethodError: undefined method `first' for 1:Fixnum>trace
/home/pedro/.rvm/gems/ruby-1.9.3-p327@itsm/gems/ruote-2.3.0.1/lib/ruote/exp/condition.rb:131:in
`evl'
/home/pedro/.rvm/gems/ruby-1.9.3-p327@itsm/gems/ruote-2.3.0.1/lib/ruote/exp/condition.rb:154:in
`evl'
/home/pedro/.rvm/gems/ruby-1.9.3-p327@itsm/gems/ruote-2.3.0.1/lib/ruote/exp/condition.rb:124:in
`evl'
/home/pedro/.rvm/gems/ruby-1.9.3-p327@itsm/gems/ruote-2.3.0.1/lib/ruote/exp/condition.rb:72:in
`true?'
/home/pedro/.rvm/gems/ruby-1.9.3-p327@itsm/gems/ruote-2.3.0.1/lib/ruote/exp/condition.rb:55:in
`apply?'
/home/pedro/.rvm/gems/ruby-1.9.3-p327@itsm/gems/ruote-2.3.0.1/lib/ruote/exp/flow_expression.rb:339:in
`do_apply'
/home/pedro/.rvm/gems/ruby-1.9.3-p327@itsm/gems/ruote-2.3.0.1/lib/ruote/exp/flow_expression.rb:331:in
`do'
/home/pedro/.rvm/gems/ruby-1.9.3-p327@itsm/gems/ruote-2.3.0.1/lib/ruote/worker.rb:496:in
`launch'
/home/pedro/.rvm/gems/ruby-1.9.3-p327@itsm/gems/ruote-2.3.0.1/lib/ruote/worker.rb:373:in
`process'
/home/pedro/.rvm/gems/ruby-1.9.3-p327@itsm/gems/ruote-2.3.0.1/lib/ruote/worker.rb:195:in
`process_msgs'
/home/ped
ro/.rvm/gems/ruby-1.9.3-p327@itsm/gems/ruote-2.3.0.1/lib/ruote/worker.rb:243:in
`step'
/home/pedro/.rvm/gems/ruby-1.9.3-p327@itsm/gems/ruote-2.3.0.1/lib/ruote/worker.rb:94:in
`run'
/home/pedro/.rvm/gems/ruby-1.9.3-p327@itsm/gems/ruote-2.3.0.1/lib/ruote/dashboard.rb:90:in
`initialize'
At the line of the erro, I see the successive values for the "tree"
variable before the exception:
[:call, [:lit, 1], :==, [:lit, 1]]
[:lit, 1]
1
Any help?
thanks,
Pedro
--
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