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

Property reactivity inconsistent behavior when modify-block is placed inside a block like if-block in RHS

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 8.42.0.Final
    • 7.67.0.Final, 7.74.0.Final
    • core engine
    • None
    • 2023 Week 27-29 (from Jul 3)
    • 2
    • NEW
    • NEW
    • ---
    • ---

      Issue Description:

      Under non-executable model and mvel dialect, when modify-block is placed inside a block like if-block in RHS, the modify does not work correctly (rules to be fired by property reactivity are not fired).

          if (<condition>) {
              modify(<fact object>) {
                  <property> = <value>
              }
          }
      

      Acceptance Criteria:

      TBD

      Additional Information:

      Test cases may include more variants of modify/update with statement blocks.
      Configuration combinations:

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

              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: