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

Evaluator 'str' does not work wit logical or

XMLWordPrintable

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

      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.

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

                Created:
                Updated:
                Resolved: