Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-5025

Wrong BitMask created by a complex setter argument in modify block

XMLWordPrintable

      With a complex setter argument in modify block like this:

      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
      

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

            rhn-support-tkobayas Toshiya Kobayashi
            rhn-support-tkobayas Toshiya Kobayashi
            Daniel Rosa Daniel Rosa
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: