sebbASF opened a new issue, #180: URL: https://github.com/apache/whimsy/issues/180
The following code: https://github.com/apache/whimsy/blob/e30d6166c0e9711ed8b99e7ade9488bac0356b8b/lib/whimsy/asf/ldap.rb#L873 relies on being able to detect the presence of the attribute in the LDAP record. However, LDAP does not return the names of missing attributes, in which case rather than returning nil, the method raises an error: 'undefined method `attributename` for ...'. This means that (e.g.) githubUsername may work as an object property for some people but not others. This is confusing. Furthermore, if the Person object does not correspond to an LDAP record, even required attributes raise errors. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@whimsical.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org