Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-8749

Make LDAP directory report partial results if provided by the server when server size limit is reached

    XMLWordPrintable

    Details

      Description

      If the server sends back the truncated partial result list before sending the size limit exceeded LDAP error, the LDAPSession API should still successfully send back the results to the caller.

      Questions:

      1- Would it be useful to the wrap the results in a TruncatedDocumentModelList that would derive from the regular DocumentModelList but would be a marker interface to make the caller aware that the results are incomplete?

      2- Should we issue a log.warn when SizeLimitExceeded exception is caught or just ignore it?

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ogrisel Olivier Grisel
                Reporter:
                ogrisel Olivier Grisel
                Participants:
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: