<p dir="ltr">There was a bug that has now been fixed. I think it made the 6.0.1 cut. </p>
<p dir="ltr">Sent on the move</p>
<div class="gmail_quote">On 18 Jan 2014 01:04, "SrjTx" <<a href="mailto:clickthex@yahoo.com">clickthex@yahoo.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I've done a couple DSL/RDSLR rules in the past with success. Been trying to<br>
create one today but get "Unable to expand" errors on validation on every<br>
line, even with not substitutions.<br>
<br>
What am i missing?<br>
<br>
Here is a NON-DSL/RDRL file that works just fine.<br>
<br>
5. | rule "AAA"<br>
6. | dialect "mvel"<br>
7. | when<br>
8. | $sep : DroolsSepBean( )<br>
9. | then<br>
10. | System.out.println("HI");<br>
11. | end<br>
<br>
Here is a DSL/RDSLR file that generates the errors below (note this is the<br>
same code as above and nothing should substitute) I even took out the $sep<br>
assignment to make it more simple (it gives same errors if it's in there)<br>
<br>
5. | rule "dsltest"<br>
6. | dialect "mvel"<br>
7. | when<br>
8. | DroolsSepBean( )<br>
9. | then<br>
10. | System.out.println("HI");<br>
11. | end<br>
<br>
<br>
18:42:57,396 ERROR [org.drools.compiler.kie.builder.impl.AbstractKieModule]<br>
(http-/127.0.0.1:8080-2) Unable to build KieBaseModel:defaultKieBase<br>
[8] Unable to expand: DroolsSepBean( )<br>
[10] Unable to expand: System.out.println("HI");<br>
<br>
<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/DSL-Unable-to-Expand-Error-Even-things-that-shouldn-t-be-expanded-tp4027749.html" target="_blank">http://drools.46999.n3.nabble.com/DSL-Unable-to-Expand-Error-Even-things-that-shouldn-t-be-expanded-tp4027749.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>