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

executable-model fails with mvel boolean property assignment in RHS

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 8.32.0.Final
    • 7.73.0.Final, 8.31.0.Final
    • executable model
    • None
    • 2022 Week 47-49 (from Nov 21)
    • 2
    • NEW
    • NEW
    • ---
    • ---

    Description

      When a boolean property value is assigned in RHS with mvel dialect,

      rule R
      dialect "mvel"
      when
        $holder : ValueHolder()
      then
        $holder.primitiveBooleanValue = true;
      end
      

      exec-model fails with

      CompilationProblemErrorResult: org.drools.mvelcompiler.MvelCompilerException: RHS doesn't have a type
      

      while non-exec-model works as expected.

      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: