Hi all,

I am testing something like this:

Ruote.process_definition :name => 'test', :revision => '0.1' do

  sequence do

    set 'f:x' => '1x'

    set 'f:y' => '2x'

    sequence :if => "${f:x} == ${f:y}" do

      echo 'IF IF IF IF IF IF'

    end

  end

end
My problem here is that I'm getting the echo out even though the values are
different. If I invert the condition I also get the echo. This seems to
happen any time the field values start with a digit.

If I change the values to start with an alphabetical character things work
fine. If I change ${f:x} to ${'f:x} (and also for f:y) it also works fine
but I'm trying to get my head around what is going on here and the rules
for quoting within an if.

Any help?

Thanks!
-Mario.

*Mario Camou* | *Co-Founder*
[email protected]
http://abstra.cc

Tanto este mensaje como todos los posibles documentos adjuntos al mismo,
son confidenciales y están dirigidos exclusivamente a los destinatarios de
los mismos. Por favor, si Usted no es uno de dichos destinatarios,
notifíquenos este hecho y elimine el mensaje de su sistema. Queda prohibida
la copia, difusión o revelación de su contenido a terceros sin el previo
consentimiento por escrito de “ABSTRA CC FACTORIA SOFTWARE, S.A.”. En caso
contrario, vulnerará la legislación vigente. Sus datos figuran en un
fichero propiedad de "ABSTRA CC FACTORIA SOFTWARE, S.A.". Si desea acceder
a sus datos, rectificarlos, cancelarlos u oponerse a su tratamiento,
diríjase por escrito a "ABSTRA CC FACTORIA SOFTWARE, S.A.", C/ Boix y
Morer, 6, 7 planta de Madrid, CP-28003.

Both this message and all possible documents attached to it, are
confidential and are intended exclusively to recipients of them. Please, if
you are not one of those recipients, notify us of this fact and delete the
message from your system. Copying, dissemination or disclosure of their
contents to third parties without the prior written consent of "ABSTRA CC
FACTORIA SOFTWARE, S.A." is prohibited. Otherwise, you violate the
legislation in force. Your data are contained in a file property of "ABSTRA
CC FACTORIA SOFTWARE, S.A.". If you want to access your data, rectify them,
cancel them or oppose its processing, submit in writing to "ABSTRA CC
FACTORIA SOFTWARE, S.A.", C/ Boix y Morer, 6, 7 floor Madrid, CP-28003.

-- 
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

Reply via email to