Uploaded image for project: 'Crowd Data Center'
  1. Crowd Data Center
  2. CWD-2807

ApplicationServiceGeneric search methods may return too few results when paging

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Medium
    • 2.3.8, 2.4.3, 2.5
    • None
    • None
    • None

    Description

      The ApplicationServiceGeneric search methods try to fetch (offset + maxResults) results from each directory, but they will stop querying the underlying directories when then have maxResults results. They should only return when they have at least offset + maxResults.

      For example, querying with a start index of 10 and max results of 5, if the first directory contained six users we would decide we had more than five, never query the second directory, but then throw those six users away because they come before the start index.

      This is only an issue when paging. Queries for ALL_RESULTS are unaffected.

      CWD-2748 fixed this for searchUsers, but it's still an issue for searchGroups, searchDirectGroupRelationships and searchNestedGroupRelationships.

      Attachments

        Issue Links

          Activity

            People

              jwalton joe
              jwalton joe
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: