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

Small improvements for policy.js

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Reopened
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 7.0.0, OpenIDM 5.5.1.3, 6.0.0.5, 6.5.0.3
    • Fix Version/s: 6.0.0.6
    • Component/s: Module - Policy
    • Labels:
      None

      Description

      When performing the _queryFilter search in checkUniqueness the option

      "_fields": "_id"

      could be added to the queryParams. It is not necessary to retrieve the full object when making a determination whether it exists.

      Also, the variable requestBaseArray is not used in checkUniqueness and can be deleted.

        Attachments

          Activity

            People

            Assignee:
            brmiller Brendan Miller
            Reporter:
            matthias.grabiak Matthias Grabiak
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: