Hello,

I tried this with the latest build (from master branch on github) and could not replicate this issue.

I have however raised a bug report for the single space character for the default value.

With kind regards,

Mike


On 6 February 2014 19:11, SrjTx <clickthex@yahoo.com> wrote:
I have a global class foo with method bar(int x, int y, string s);

I added it to a globals file as alias x.

In a then in an rdrl, I can select call a method on x, so I choose
bar.  I get 3 text boxes
       int[        ]
       int[        ]
   string[        ]

And I fill in
       int[3       ]
       int[8       ]
   string[Hi      ]

The resulting source is x.bar("3", "8", "Hi") - which fails validation
because the first two are supposed to be ints.  Do you enter ints
differently?  Or, is this a bug?

Also note that a space is always a;ready in the text boxes so you have to
delete it first.  If you just start typeing hi, you will get the value " Hi"





--
View this message in context: http://drools.46999.n3.nabble.com/6-0-1-F-Guided-Rule-makes-all-argument-types-strings-tp4028010.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users