<p dir="ltr">Sound like bugs to me.</p>
<p dir="ltr">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).</p>
<p dir="ltr">Thanks</p>
<p dir="ltr">Sent on the move</p>
<div class="gmail_quote">On 25 Feb 2014 00:06, &quot;SrjTx&quot; &lt;<a href="mailto:clickthex@yahoo.com">clickthex@yahoo.com</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
The following works like you would think:<br>
<br>
[when]xxx {l:ENUM:MyBean.l} {x:ENUM:MyBean.x}<br>
{y:ENUM:MyBean.y}=eval($sep.foo(&quot;any&quot;, &quot;any&quot;, &quot;{l}&quot;, &quot;{x}&quot;, &quot;{y}&quot;, &quot;&quot;, &quot;&quot;))<br>
<br>
Defect 1?<br>
If you remove the spaces between the &quot;} {&quot;<br>
[when]xxx<br>
{l:ENUM:MyBean.l}{x:ENUM:MyBean.x}{y:ENUM:MyBean.y}=eval($sep.foo(&quot;any&quot;,<br>
&quot;any&quot;, &quot;{l}&quot;, &quot;{x}&quot;, &quot;{y}&quot;, &quot;&quot;, &quot;&quot;))<br>
<br>
l = &quot;&quot;<br>
x = &quot;&quot;<br>
y = l + x + y<br>
<br>
Defect 2?<br>
Even in the first case, if the Enumeration returns a value that has space(s)<br>
in it (which maybe should not be allowed?) it will make for odd<br>
substitutions as well.<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/6-0-1-F-Defect-s-in-DSL-and-Enumerations-tp4028283.html" target="_blank">http://drools.46999.n3.nabble.com/6-0-1-F-Defect-s-in-DSL-and-Enumerations-tp4028283.html</a><br>

Sent from the Drools: User forum mailing list archive at Nabble.com.<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</blockquote></div>