[jboss-jira] [JBoss JIRA] (DROOLS-4916) Investigate modify parsing bug in executable model

Luca Molteni (Jira) issues at jboss.org
Thu Jan 9 06:08:37 EST 2020


Luca Molteni created DROOLS-4916:
------------------------------------

             Summary: 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


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);



--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the jboss-jira mailing list