[rules-users] Guvnor 5.3 : Guided Rule Editor : mixing formula and field constraint in same pattern makes editor crash
Vincent LEGENDRE
vincent.legendre at eurodecision.com
Wed Nov 16 05:31:15 EST 2011
Done : GUVNOR-1753
But I think I don't have the rigths to assign someone to it ...
----- Mail original -----
De: "Michael Anstis" <michael.anstis at gmail.com>
À: "Rules Users List" <rules-users at lists.jboss.org>
Envoyé: Mardi 15 Novembre 2011 19:08:18
Objet: Re: [rules-users] Guvnor 5.3 : Guided Rule Editor : mixing formula and field constraint in same pattern makes editor crash
Yes, agreed.
Please raise a JIRA, https://issues.jboss.org/browse/GUVNOR , and assign to me.
Thanks,
Mike
2011/11/15 Vincent LEGENDRE < vincent.legendre at eurodecision.com >
Hi,
As said in the subject mixing formula and field constraint in same pattern makes the guided editor crash.
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(...)")
These rules cannot be opened by guvnor 5.3, but compiles.
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).
If I let only one test type, all is fine.
Otherwise, the current condition becomes empty, the action part disappears, and there is no error message in logs....
It seems like a bug to me. Agreed ?
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 ...).
_______________________________________________
rules-users mailing list
rules-users at lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
_______________________________________________
rules-users mailing list
rules-users at lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20111116/49802bb9/attachment.html
More information about the rules-users
mailing list