-
Notifications
You must be signed in to change notification settings - Fork 417
Undefined exception when creating control #46
Comments
Hi Julien, Sounds good, but can you give me the offending ldapjs stack trace? |
Oh, and what version are you using? There was a big controls refactoring a few weeks ago, and I put in a couple fixes last week; suspect this may already be fixe.d |
Hi Mark, Reading my comment I realised I missed a few details. The stacktrace is: This is when calling: I am running version 0.3.6 of ldapjs. Thanks for your feedback, Julien |
Oh, yikes, that's ancient in node.js terms :) - Try it on 0.4.3 (that's the latest). |
Hi Mark, Try with 0.4.3 and it's all good. Thanks and apologies about raising this bug. |
Hi Julien, no worries - glad you're up and running now. |
I am getting an exception when doing a simple lookup. This is using the Java LdapTemplate provided by spring. The code look like this:
ldapTemplate.lookup("uid=julien,dc=foo,dc=com")
The fix can be to add
if (!value) value = "";
in the index.js on line 47
I am not sure if it's a problem with the Java implementation or ldapjs itself.
Regards,
Julien
The text was updated successfully, but these errors were encountered: