Pagination does not work when querying for users by group id in LDAP plugin

XMLWordPrintable

    • Type: Bug Report
    • Resolution: Fixed
    • Priority: L3 - Default
    • 7.7.0, 7.6.5, 7.7.0-alpha2
    • Affects Version/s: None
    • Component/s: engine
    • None

      Given:

      • a group A
      • that group A has more than 10 members

      Steps to reproduce:

      1. execute the following query
        identityService
          .createUserQuery()
          .memberOfGroup("A")
          .listPage(0, 5); // -> the first five users are returned
        
      2. when executing the following query
        identityService
          .createUserQuery()
          .memberOfGroup("A")
          .listPage(5, 5); // -> then an empty list is returned
        

      Problem:
      When querying for user with firstResult >= maxResults, then an empty list is returned.

      Expected Behavior:
      The correct result is returned.

        This is the controller panel for Smart Panels app

              Assignee:
              Svetlana Dorokhova
              Reporter:
              Roman Smirnov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: