Description
----Original Message----
From: grouper-dev-request grouper-dev-request On Behalf Of Jeff McCullough
Sent: Wednesday, July 24, 2013 7:10 PM
To: Grouper Dev
Cc: calnet-admin Administration
Subject: [grouper-dev] LdapSession.list bug
In the LdapSession.list method there is small bug that throws an error if the ldap attribute in question does not exist for the user. There should be a check for a null value before the for loop.
if (attribute != null) {
for (int i=0;i<attribute.size();i++) {
Object attributeValue = attribute.get;
attributeValue = GrouperUtil.typeCast(attributeValue, returnType);
if (attributeValue != null)
}
}
Cheers,
Jeff