Uploaded image for project: 'Directory ApacheDS'
  1. Directory ApacheDS
  2. DIRSERVER-2057

Server returns search continuation only if 'ref' or '+' attributes are requested

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.0-M19
    • 2.0.0-M20
    • None
    • None

    Description

      If the search scope includes referral entries, then the server only converts them to search continuations if the search requested '+' or 'ref' attributes, otherwise the referral entry is returned.

      In 2.0.0-M14 this was different, even if only objectClass was requested by the client the referral object was converted to a search continuation.

      Unfortunately our tests don't cover this case.

      • SearchWithReferralsTest always requests * and +. ReferralSearchIT
      • ReferralSearchIT.testSearchContinuations() checks ReferralException but that catch block is never reached.

      Attachments

        Activity

          People

            Unassigned Unassigned
            seelmann Stefan Seelmann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: