[jboss-jira] [JBoss JIRA] (DROOLS-5025) Wrong BitMask created by c

Toshiya Kobayashi (Jira) issues at jboss.org
Fri Feb 7 04:45:52 EST 2020


Toshiya Kobayashi created DROOLS-5025:
-----------------------------------------

             Summary: Wrong BitMask created by c
                 Key: DROOLS-5025
                 URL: https://issues.redhat.com/browse/DROOLS-5025
             Project: Drools
          Issue Type: Bug
          Components: executable model
    Affects Versions: 7.32.0.Final
            Reporter: Toshiya Kobayashi
            Assignee: Luca Molteni


With a complex setter argument in modify block like this:
{noformat}
import org.drools.modelcompiler.domain.Person;
rule R 
when
    $p: Person(address.street == "street1")
then
    modify($p) { setLikes( String.valueOf(($p.getAddress().getStreet() + $p.getAddress().getCity()))) };
end
{noformat}

executable model creates BitMask for "likes" and "address" thus causes a wrong property reactivity behavior.




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


More information about the jboss-jira mailing list