On Fri, Feb 28, 2014 at 02:41:59PM -0800, Matthew York wrote:
>
> So some strangeness today:
>
> I have a bit of process def that has this:
>
>     sequence :unless => '$f:machine.remote_id' do
>
> I've encountered a scenario where this comparison fails - from my logs I
> see a dump of f:machine that does have 'remote_id' populated just before
> this process is run.
> Somehow the sequence is still executed.
>
> Note that this particular process is nested under a concurrent_iterator -
> and in the other branches 29 other machines (properly) skipped this
> sequence, but one did not.
>
> I've looked over some of the older posts about comparisons, and I don't
> think i'm doing anything too strange here.
>
> Do you think this would be an issue with ruote-mon? ( which I'm still using
> with 1 worker )
> I haven't tried to replicate this issue using another storage.
>
> I'm just now starting to attempt to replicate this issue with a simple test
> case, but something tells me this isn't simple.

Hello Matt,

I'm sorry, from the information you are giving me, I cannot say much.

What is remote_id right before the sequence gets hold of it, could it be ""
or "false"? The comparison/unless code isn't that smart, it takes a decision,
but not a random decision.

You could had some debug output around line 368 or
lib/ruote/exp/flow_expression.rb or in the apply? method of class Condition
in lib/ruote/exp/condition.rb to see what's ending up there...

I hope this will help.


Best regards,

John

-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"ruote" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to