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" <clickt...@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@lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users >
_______________________________________________ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users