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

Evaluator 'str' does not work wit logical or

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 6.0.0.Beta4
    • None
    • None
    • None

    Description

      The str custom evaluator when used in conjuction of other constraints connected with logical or, like in the following example:

      RoutingMessage( routingValue == "R2" || routingValue str[startsWith] "R1" )
      

      throws a ClassCastException when evaluated.

      Attachments

        Activity

          People

            mfusco@redhat.com Mario Fusco
            mfusco@redhat.com Mario Fusco
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: