]
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?