]
Peter Palaga updated GTNPORTAL-3495:
------------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
Membership Pagination don't work
--------------------------------
Key: GTNPORTAL-3495
URL:
https://issues.jboss.org/browse/GTNPORTAL-3495
Project: GateIn Portal
Issue Type: Enhancement
Security Level: Public(Everyone can see)
Affects Versions: 3.5.9.Final
Reporter: Boubaker Khanfir
Assignee: Marek Posolda
Fix For: 3.8.3.Final, 3.9.0.Final
Attachments: plidm-ldap-membership-pagination.zip
I attach a new unit test for a bug that I met in PL IDM 1.4.4.
Test case description:
1/ add about 10 users in an LDAP group
2/ use SearchCriteria to paginate on the Members of this group
=> Problem: pagination doesn't work
Why does it fails:
Because in this method
"org.picketlink.idm.impl.store.ldap.LDAPIdentityStoreImpl.resolveRelationships(IdentityStoreInvocationContext,
IdentityObject, IdentityObjectRelationshipType, boolean, boolean, String,
IdentityObjectSearchCriteria)" the attribute "IdentityObjectSearchCriteria"
isn't used for pagination.
To workaround this bug I had to use (skipPaginationInMembershipQuery=true). If the UI is
buggy without this parameter to "true", I think it has to be *by default
"true" in Config class* and may be even delete this option to not use pagination
in Membership at all.