<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Times New Roman; font-size: 12pt; color: #000000'>Done : <a id="key-val" rel="12452359" href="https://issues.jboss.org/browse/GUVNOR-1753">GUVNOR-1753</a><br>But I think I don't have the rigths to assign someone to it ...<br><br><hr id="zwchr"><div style="color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><b>De: </b>"Michael Anstis" <michael.anstis@gmail.com><br><b>À: </b>"Rules Users List" <rules-users@lists.jboss.org><br><b>Envoyé: </b>Mardi 15 Novembre 2011 19:08:18<br><b>Objet: </b>Re: [rules-users] Guvnor 5.3 : Guided Rule Editor : mixing formula and field constraint in same pattern makes editor crash<br><br>Yes, agreed. <br><br>Please raise a JIRA, <a href="https://issues.jboss.org/browse/GUVNOR" target="_blank">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" target="_blank">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" target="_blank">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>
<br>_______________________________________________<br>rules-users mailing list<br>rules-users@lists.jboss.org<br>https://lists.jboss.org/mailman/listinfo/rules-users<br></div><br></div></body></html>