[rules-users] 6.0.1.F Defect(s) in DSL and Enumerations

Michael Anstis michael.anstis at gmail.com
Tue Feb 25 01:53:52 EST 2014


Sound like bugs to me.

Please raise a JIRA for DROOLS and ideally submit a pull request to github
for a failing unit test (or at least attach one to the JIRA).

Thanks

Sent on the move
On 25 Feb 2014 00:06, "SrjTx" <clickthex at yahoo.com> wrote:

> The following works like you would think:
>
> [when]xxx {l:ENUM:MyBean.l} {x:ENUM:MyBean.x}
> {y:ENUM:MyBean.y}=eval($sep.foo("any", "any", "{l}", "{x}", "{y}", "", ""))
>
> Defect 1?
> If you remove the spaces between the "} {"
> [when]xxx
> {l:ENUM:MyBean.l}{x:ENUM:MyBean.x}{y:ENUM:MyBean.y}=eval($sep.foo("any",
> "any", "{l}", "{x}", "{y}", "", ""))
>
> l = ""
> x = ""
> y = l + x + y
>
> Defect 2?
> Even in the first case, if the Enumeration returns a value that has
> space(s)
> in it (which maybe should not be allowed?) it will make for odd
> substitutions as well.
>
>
>
>
>
>
>
> --
> View this message in context:
> http://drools.46999.n3.nabble.com/6-0-1-F-Defect-s-in-DSL-and-Enumerations-tp4028283.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20140225/5c20dfb5/attachment.html 


More information about the rules-users mailing list