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

queryFilter boolean handling is inconsistent between JDBC and DS repositories

    Details

    • Target Version/s:
    • Verified Version/s:
    • Story Points:
      3
    • Sprint:
      2020.03 - IDM

      Description

      When performing a queryFilter against IDM with a JDBC repository with a negated value, e.g. "!{attribute eq true)", the results returned differ when compared to a DS repository.

      To re-produce, create three managed objects with a searchable boolean attribute:

      1 true
      1 false
      1 undefined

      When using _queryFilter=test eq true, the first user (true) is returned
      When using _queryFilter=test eq false, the second user (false) is returned
      When using _queryFilter=!(test eq true), the behaviour changes depending on if we use a JDBC or DS repo.

      For DS, the false and undefined user are returned
      For JDBC, only the false user is returned

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jason.vincent jason vincent
                Reporter:
                tom.wood Tom Wood
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: