Yes, agreed. <br><br>Please raise a JIRA, <a href="https://issues.jboss.org/browse/GUVNOR">https://issues.jboss.org/browse/GUVNOR</a>, and assign to me.<br><br>Thanks,<br><br>Mike<br><br><div class="gmail_quote">2011/11/15 Vincent LEGENDRE <span dir="ltr"><<a href="mailto:vincent.legendre@eurodecision.com">vincent.legendre@eurodecision.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div style="font-family:Times New Roman;font-size:12pt;color:#000000">Hi,<br>As said in the subject mixing formula and field constraint in same pattern makes the guided editor crash.<br>
<br>I had rules in 5.2, which was using such constructions, ie normal constraint for normal tests, and sometime a formula (which transform into in-pattern "eval(...)")<br>These rules cannot be opened by guvnor 5.3, but compiles.<br>
When trying to rewrite the same rule in 5.3, everything is well until I add a "formula" constraint in a Pattern already having a "normal" constraint (or a normal after a formula).<br>If I let only one test type, all is fine. <br>
Otherwise, the current condition becomes empty, the action part disappears, and there is no error message in logs....<br><br>It seems like a bug to me. Agreed ?<br><br>I could add my "eval" outside the pattern, but I also use such constructs in some accumulate patterns ... and I don't have any solution for them (except writing all that stuff directly in DRL format ...).<br>
</div></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></div><br>