[
https://issues.redhat.com/browse/DROOLS-5025?page=com.atlassian.jira.plug...
]
Kris Verlaenen updated DROOLS-5025:
-----------------------------------
Sprint: 2020 Week 10-12 (from Mar 2), 2020 Week 13-15 (from Mar 23), 2020 Week 16-18
(from Apr 13) (was: 2020 Week 10-12 (from Mar 2), 2020 Week 13-15 (from Mar 23))
Wrong BitMask created by a complex setter argument in modify block
------------------------------------------------------------------
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: Toshiya Kobayashi
Priority: Major
Labels: good-first-issue
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)