<p>It most certainly sounds like a bug, please create a JIRA and attach a repository showing the problem.</p>
<p>sent on the move</p>
<p>On 15 Jun 2012 15:28, &quot;Sandjaja, Dominik&quot; &lt;<a href="mailto:dominik.sandjaja@it-motive.de">dominik.sandjaja@it-motive.de</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<u></u>






<div>


<p dir="LTR"><span lang="en-us"><font face="Calibri">Hi everybody</font></span><span lang="en-us"><font face="Calibri">,</font></span></p>

<p dir="LTR"><span lang="en-us"><font face="Calibri">I use the advanced, dependent enumeration concepts of the Guvnor DSL as explained here (second part):</font></span></p>

<p dir="LTR"><span lang="en-us"></span><a href="http://docs.jboss.org/drools/release/5.4.0.Final/drools-guvnor-docs/html/ch04.html#d0e1887" target="_blank"><span lang="en-us"><u><font color="#0000FF" face="Calibri">http://docs.jboss.org/drools/release/5.4.0.Final/drools-guvnor-docs/html/ch04.html#d0e1887</font></u></span><span lang="en-us"></span></a><span lang="en-us"></span></p>


<p dir="LTR"><span lang="en-us"><font face="Calibri">In principle, this works fine: I get my values in the dropdown fields just fine, e.g.</font></span><span lang="en-us"> <font face="Calibri">when using the following DSL sentence:</font></span></p>


<p dir="LTR"><span lang="en-us"><font face="Calibri">[when]In the module {module:ENUM:Enums.BooleanModules} the checkbox for the field {field:ENUM:Enums.BooleanField} is checked={module} ( {field}Visible &amp;&amp; {field} )</font></span><span lang="en-us"></span></p>


<p dir="LTR"><span lang="en-us"><font face="Calibri">When everything works, the {field} is filled, depending on the</font></span><span lang="en-us"> <font face="Calibri">selected value in {module}.</font></span></p>

<p dir="LTR"><span lang="en-us"><font face="Calibri">BUT: If I create such a rule, close it, open it again, the following DRL is generated</font></span><span lang="en-us"><font face="Calibri"> (given that {module} has the value MODULE</font></span><span lang="en-us"><font face="Calibri">:</font></span></p>


<p dir="LTR"><span lang="en-us"><font face="Calibri"> </font></span><span lang="en-us"><font face="Calibri">MODULE</font></span><span lang="en-us"><font face="Calibri"> ( Visible &amp;&amp; )</font></span><span lang="en-us"></span></p>


<p dir="LTR"><span lang="en-us"><font face="Calibri">As you can see, the value for {field} is missing at all! If I change something somewhere else in the rule and save it, the rule is invalid and</font></span><span lang="en-us"> <font face="Calibri">everything breaks!</font></span></p>


<p dir="LTR"><span lang="en-us"><font face="Calibri">I have no idea</font></span><span lang="en-us"> <font face="Calibri">where to look as there are no errors when saving or loading the rules. Should I file a bug for this or am I missing something?</font></span></p>


<p dir="LTR"><span lang="en-us"></span></p>

<p dir="LTR"><span lang="en-us"><font face="Calibri">Thanks</font></span></p>

<p dir="LTR"><span lang="en-us"><font face="Calibri">Dominik</font></span><span lang="en-us"></span></p>

</div>
<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>
<br></blockquote></p>