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

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

    XMLWordPrintable

Details

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

    Description

      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

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: