AQL operator not in() behaves as ALL matching, instead of ANY for object attributes

XMLWordPrintable

    • 2
    • Severity 3 - Minor
    • Warranty

      Issue Summary

      The AQL operator NOT IN() will only filter out objects that have a complete match for "all" arguments presented, instead of the expected "any", when used on Object referencing attributes.

      Steps to Reproduce

      • Have an object with multiple object references into a single attribute
      • Try to filter this object using the NOT IN() operator:
        attributeTest not in (obj1,obj2,obj3)
        

      Expected Results

      Any objects presenting any of the values on the attributeTest will be filtered out

      Actual Results

      Only objects presenting all of the values on the attributeTest will be filtered out

      Workaround

      Use the Reference Function outR().

            Assignee:
            Yunhan Li
            Reporter:
            Joao Vasconcelos
            Votes:
            2 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: