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

not() unary test is short circuiting in the presence of null

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.0.0.Final
    • 7.0.0.Beta6
    • dmn engine
    • None
    • NEW
    • NEW

      not() unary tests as it is short-circuiting in some cases without checking all the elements. E.g.:

      10 in ( not( null, 10 ) ) ----> short circuits and returns true when it should be false
      null in ( not( 10, null ) ) -----> short circuits and returns true when it should be false

            etirelli@redhat.com Edson Tirelli
            etirelli@redhat.com Edson Tirelli
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: