]
Toshiya Kobayashi updated DROOLS-5025:
--------------------------------------
Summary: Wrong BitMask created by a complex setter argument in modify block (was:
Wrong BitMask created by c)
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: Luca Molteni
Priority: Major
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.