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

Consider property reactivity analysis. Only before "modify/update" or whole RHS

XMLWordPrintable

    • 2023 Week 27-29 (from Jul 3)
    • 2
    • NEW
    • NEW
    • ---
    • ---

      Issue Description:
      Consider the case

      modify ($fact) {
        setValue1(2)
      }
      $fact.setValue2(2);
      

      and

      $fact.setValue1(2);
      update($fact);
      $fact.setValue2(2);
      

      value2 should be enlisted as property reactivity?

      There is inconsistency among the combinations:

      • non-exec-model and exec-model
      • java dialect and mvel dialect
      • modify and update

      Acceptance Criteria:

      See discussion in https://github.com/kiegroup/drools/pull/5380

      • Analyze whole RHS and make them all property reactive. In the above example, value2 should be enlisted as property reactivity
      • Consistent among the configurations
      • Add docs

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

                Created:
                Updated:
                Resolved: