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

Details

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

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Salesforce