Uploaded image for project: 'OpenIDM'
  1. OpenIDM
  2. OPENIDM-14451

DJ IN clause not supported when utilized with another clause

    Details

    • Target Version/s:
    • Verified Version/s:
    • Story Points:
      2
    • Sprint:
      2020.04 - IDM

      Description

      Recently added IN support seems to only work in DS when it is used alone in the queryFilter. 

      For example: This works correctly and returns a correct response.

      http://idm.example.com:8080/openidm/managed/user?_pageSize=1000&_fields=preferences&_queryFilter=userName IN '["user0a"]' 

       

      However a compound filter will get rejected saying the operator IN is not supported.

      http://idm.example.com:8080/openidm/managed/user?_pageSize=1000&_fields=preferences&_queryFilter=userName IN '["user0a"]' and true

      Returns:

      {
          "code": 400,
          "reason": "Bad Request",
          "message": "The query request cannot be processed because its query filter '(/fullobject/userName IN "[\\"user0a\\"]" and true)' contained an unrecognized or unsupported filter operator 'IN'"
      }
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jason.vincent jason vincent
                Reporter:
                jason.vincent jason vincent
                QA Assignee:
                Alexander Dracka
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: