Uploaded image for project: 'JBRULES'
  1. JBRULES
  2. JBRULES-3533

Unable to Analyse Expression strict mode exception

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

    XMLWordPrintable

Details

    Description

      A rule with this type of expression functions correctly in 5.0 but fails in 5.4. Pull request to follow

      Map($valOne : this['keyOne'] !=null)
      $lowerValue : String() from $valOne.toLowerCase()

      Results in:
      Unable to Analyse Expression $valOne.toLowerCase():
      [Error: unable to resolve method using strict-mode: java.lang.Object.toLowerCase()]
      [Near :

      {... $valOne.toLowerCase() ....}

      ]
      ^ : [Rule name='LowerCaseFrom']

      Error importing : 'com.sample.DroolsTest.Message'

      Attachments

        Activity

          People

            mfusco@redhat.com Mario Fusco
            jwhite-1 Joseph White (Inactive)
            Archiver:
            rhn-support-ceverson Clark Everson

            Dates

              Created:
              Updated:
              Resolved:
              Archived:

              PagerDuty