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

Wrong BitMask created by a complex setter argument in modify block

    Details

      Description

      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.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  tkobayashi Toshiya Kobayashi
                  Reporter:
                  tkobayashi Toshiya Kobayashi
                  Tester:
                  Daniel Rosa
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: