Uploaded image for project: 'OpenICF'
  1. OpenICF
  2. OPENICF-902

Powershell AD sample using paging always return pagedResultsCookie null

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: powershell-connector-1.4.5.0
    • Component/s: PowerShell Connector
    • Labels:
    • Environment:
      MSPowershellConnector 1.4.5.0 (c0ce703a371), OpenIDM 6.5.0-SNAPSHOT (27bab98), DotNetConnectorServer 1.5.5.0-SNAPSHOT, Windows 2012R2

      Description

      PagedResultsCookie should not be null when using paging

      curl --header "X-OpenIDM-Username: openidm-admin" --header "X-OpenIDM-Password: openidm-admin"  --request GET "http://localhost:8080/openidm/system/adpowershell/account/?_queryId=query-all-ids&_sortKeys=sAMAccountName&_pageSize=4"
      
      Response Content:
      {"result":[{"_id":"fb9610f6-8266-4919-ae43-4ae8a571863b","distinguishedName":"CN=0,OU=RobotTests2018_06_25_12_44_43,DC=example,DC=com"},{"_id":"514c29cd-8a15-4b14-aa10-6f64baf3c92c","distinguishedName":"CN=1,OU=RobotTests2018_06_25_12_44_43,DC=example,DC=com"},{"_id":"1854d73e-2ef3-41f4-9574-f8d72b29577c","distinguishedName":"CN=2,OU=RobotTests2018_06_25_12_44_43,DC=example,DC=com"},{"_id":"f2fd7cbb-ca80-4422-af8c-339879641805","distinguishedName":"CN=3,OU=RobotTests2018_06_25_12_44_43,DC=example,DC=com"}],"resultCount":4,"pagedResultsCookie":null,"totalPagedResultsPolicy":"NONE","totalPagedResults":-1,"remainingPagedResults":-1}
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                gael Gael Allioux
                Reporter:
                michal.orlik@profiq.cz Michal Orlik
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: