]
Luca Molteni updated DROOLS-4916:
---------------------------------
Sprint: (was: 2020 Week 07-09 (from Feb 10))
Investigate modify parsing bug in executable model
--------------------------------------------------
Key: DROOLS-4916
URL:
https://issues.redhat.com/browse/DROOLS-4916
Project: Drools
Issue Type: Bug
Components: executable model
Reporter: Luca Molteni
Assignee: Luca Molteni
Priority: Major
Labels: good-first-issue
declare Application
categories : Set = new HashSet()
Then I had a modify statement scattered about:
modify ($a) {
$a.getCategories().add("hello");
}
The ExecutableModel did not seem to like any of those. I changed it to:
$a.getCategories().add("hello");
update($a);