]
Luca Molteni updated DROOLS-5852:
---------------------------------
Sprint: 2020 Week 49-51 (from Nov 30)
Error while compiling with the executable model
-----------------------------------------------
Key: DROOLS-5852
URL:
https://issues.redhat.com/browse/DROOLS-5852
Project: Drools
Issue Type: Bug
Components: executable model
Reporter: Luca Molteni
Assignee: Luca Molteni
Priority: Major
See
[
https://stackoverflow.com/questions/64871827/execution-default-generatemo...]
{code:java}
rule "CSE1.001_CCR-00141"
when
$elementA : PeriodX(
)
$elementB : PeriodX(
this != $elementA,
toCheck || $elementA.toCheck
)
then
insert (HelperAction.buildError("CSE1_001_CCR_00141", $elementA,
$elementB));
end
{code}
It seems that $elementA.toCheck is causing the issue. If I toCheck is a boolean field, if
I add "$elementA.toCheck==true" it then compiles.