Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
2.20.2, 3.8.0
-
None
-
Unknown
Description
The getter/setter for pageSize have inconsistent/incorrect types:
public void setPageSize(Integer pageSize) { this.pageSize = pageSize; } public int getPageSize() { return pageSize; }
If you want to create a custom ldap component and you subclass the endpoint you have to use the getter which leads to an nullpointer exception:
public Producer createProducer() throws Exception { return new MyLdapProducer(this, remainingLdap, getBase(), toSearchControlScope(getScope()), ->getPageSize()<-, getReturnedAttributes()); }