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

Normarize rule constraints for property reactivity and indexing

    XMLWordPrintable

Details

    • 2020 Week 04-06 (from Jan 20), 2020 Week 07-09 (from Feb 10), 2020 Week 10-12 (from Mar 2)
    • 8
    • NEW
    • NEW

    Description

      Having a constraint like

        Person(name == $customer)
      

      is not really the same thing as

        Person($customer == name)
      

      In the second case not only you don't have property reactivity, but also you don't have indexing. This an inconsistent behaviour and hoping to fix it with a "normalization" phase where the second constraint got rewritten like the first before being analyzed by property reactivity and indexing.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: