The issue is solved with build kie-wb 2014-03-22 from https://hudson.jboss.org/hudson/view/JBoss%20AS/job/kie-wb-distributions/1248/.
The previous build kie-wb 2014-03-15 had the error. Thank you very much for fixing, direct or indirect :-). Kai. 2014-03-14 16:51 GMT+01:00 Kai Jemella <kjeme...@gmail.com>: > My example was bad, because the dsl starts with the same sentence as the > first one in the mortgages project. > > Can you please try to set the credit rating variable to OK in the Guided > Editor, > then save, close and reopen the rule. > > Now you should see that OK was replaced by AA. > This happens because the value is not in the enum and the editor uses the > first enum value. > > When you change the typ of rating to String, you should see this value in > the rating input field: "OK and applicant dates is after 14-Mär-2014" > > Im using this kie-wb build > https://hudson.jboss.org/hudson/job/kie-wb-distributions/1243/ > > Isn't this the 6.1.0.Beta1 Version ? > > Thanks for helping, Kai. > > > 2014-03-13 17:36 GMT+01:00 Michael Anstis <michael.ans...@gmail.com>: > >> I tried with the latest code (6.1.0.Beta1) and it works OK. >> >> [when]When the credit rating is {rating:ENUM:Applicant.creditRating} and >> applicant dates is after {dos:DATE:default} = >> applicant:Applicant(creditRating=="{rating}", applicationDate>"{dos}") >> >> 1.|package org.mortgages; >> 2.| >> 3.|import java.lang.Number; >> 4.| >> 5.|rule "eeee" >> 6.| dialect "mvel" >> 7.| when >> 8.| applicant:Applicant(creditRating=="AA", applicationDate> >> "13-Mar-2014") >> 9.| then >> 10.|end >> >> >> On 13 March 2014 15:49, Kai Jemella <kjeme...@gmail.com> wrote: >> >>> Hi, >>> >>> i recognized that DSL with multiple variables not working in current >>> 6.1.0-SNAPSHOT master. >>> >>> First i created a jira issue in the drools project: >>> >>> https://issues.jboss.org/browse/DROOLS-428 >>> >>> I thought it was ui issue. I had closed the ticket and recreated it in >>> guvnor project. >>> >>> https://issues.jboss.org/browse/GUVNOR-2081 >>> >>> Now i figured out, that also without edit and save the GuidedRule in kie >>> workbench, the issue exists. >>> >>> Should i now reopen the drools ticket? >>> Should i create a unit test for the issue? >>> >>> Thanks, Kai Jemella. >>> >>> _______________________________________________ >>> rules-users mailing list >>> rules-users@lists.jboss.org >>> https://lists.jboss.org/mailman/listinfo/rules-users >>> >> >> >> _______________________________________________ >> rules-users mailing list >> rules-users@lists.jboss.org >> https://lists.jboss.org/mailman/listinfo/rules-users >> > >
_______________________________________________ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users