[jboss-jira] [JBoss JIRA] (DROOLS-715) Guvnor/BRMS field named 'valid' breaks UI
Michael Anstis (JIRA)
issues at jboss.org
Mon Feb 16 12:16:49 EST 2015
[ https://issues.jboss.org/browse/DROOLS-715?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13040640#comment-13040640 ]
Michael Anstis commented on DROOLS-715:
---------------------------------------
Tested with 6.2.0.Final (or.. what will be Final when it's released!) and it works OK (I can open the rule without issue).
1. | package org.mortgages;
2. |
3. | import java.lang.Number;
4. |
5. | rule "gre2"
6. | dialect "mvel"
7. | when
8. | MyClass( valid == true )
9. | then
10. | end
> Guvnor/BRMS field named 'valid' breaks UI
> -----------------------------------------
>
> Key: DROOLS-715
> URL: https://issues.jboss.org/browse/DROOLS-715
> Project: Drools
> Issue Type: Bug
> Affects Versions: 6.2.0.CR4
> Reporter: Daniel Daniel
> Assignee: Michael Anstis
>
> I have a class called DrugDay, which has a boolean called valid.
> In my WHEN block,
> $drugDayA : DrugDay($uniqueIdA : uniqueId, $ctCodeA : ctCode, $dayA : day, valid == true)
> having the condition, "valid == true", breaks the UI, with no error in the logs. The guided rule has to be deleted, and created again. It is happy without the "valid == true" condition.
> Is this a reserved variable name?
>
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
More information about the jboss-jira
mailing list