Details
-
Feature Request
-
Resolution: Done
-
Major
-
None
-
None
-
None
-
2019 Week 02-04
-
NEW
-
NEW
Description
At the moment drools can compile composite condition in a nested accumulate only using a prefixed 'and' like in
String($l: length) accumulate( (and Integer(this == $l) accumulate( Long() ;$counter: count(1);$counter <= 4) ) ;$mainCounter: count(1);$mCounter <= 2 )
while it fails when using the infixed notation like in:
String($l: length) accumulate( ( Integer(this == $l) and accumulate( Long() ;$counter: count(1);$counter <= 4) ) ;$mainCounter: count(1);$mCounter <= 2 )
It is required that this could work also with the infix AND also because this is notation used by the DRLDumper when regenerating the drl from a PackageDescr
Attachments
Issue Links
- causes
-
RHDM-811 Rule with many accumulates gets corrupted by DrlParser/DrlDumper
- Closed