Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-7572

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

XMLWordPrintable

    • Icon: Bug Report Bug Report
    • Resolution: Fixed
    • Icon: L3 - Default L3 - Default
    • 7.7.0, 7.6.5, 7.7.0-alpha2
    • None
    • 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

              svetlana.dorokhova Svetlana Dorokhova
              roman.smirnov Roman Smirnov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: