Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LDAP User Import Application : NullPointerException returned by one group update makes the whole groups synchronization fail #82

Closed
mouhb opened this issue Dec 21, 2023 · 0 comments · Fixed by xwikisas/application-ldapuserimport#79
Assignees
Milestone

Comments

@mouhb
Copy link
Contributor

mouhb commented Dec 21, 2023

A NullPointerException is returned by the "Mapped groups daily updater" job when a mapped group is apparently empty (XWikiLDAPUtils#getGroupMembers(ldapGroupDN, context) returns null), see logs error.txt.

We have 2 issues here :

  • Null returned value of method ldapUtils.getGroupMembers() is not correctly managed here
  • If the update of one group fails (for some reason) it will make the whole synchronization update fail (the failure can be partial if the failed group is not the first one updated).

Version of LDAP User Import Application : 1.5.3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants