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

    Details

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

      Description

      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.

        Activity

        There are no comments yet on this issue.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: