Uploaded image for project: 'Red Hat Decision Manager'
  1. Red Hat Decision Manager
  2. RHDM-1820

Fails to parse a constraint with a bind variable on right side in executable-model

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 7.12.1.GA
    • 7.11.1.GA
    • Build and Assembly
    • None
    • 1
    • False
    • False
    • Release Notes
    • CR1
    • +
    • 2021 Week 40-42 (from Oct 4), 2021 Week 43-45 (from Oct 25), 2021 Week 46-48 (from Nov 15), 2021 Week 49-51 (from Dec 6th), 2022 Week 02-04 (from Jan 10)

    Description

      executable-model fails to build a rule which has "&&" constraint with a bind variable on right side:

        $p : Person(name == "Mario" && $a : age > 20)
      

      It results in

      InvalidExpressionErrorResult: Unable to parse left part of expression: name == "Mario" && $a : age > 20
      

      On both side as well:

        $p : Person($n : name == "Mario" && $a : age > 20)
      

      Attachments

        Issue Links

          Activity

            People

              rhn-support-tkobayas Toshiya Kobayashi
              fgonzale@redhat.com Fernando Gonzalez Castellanos
              Daniel Rosa Daniel Rosa
              Daniel Rosa Daniel Rosa
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: