RE: RE: LDAP exception

Scarletake Bwi, modified 4 Years ago. Expert Posts: 327 Join Date: 12/20/10 Recent Posts

hi

i use liferay 7.4.2, and using LDAP for User repository for Liferay and the users are getting imported from LDAP successfully.

but some account in LDAP are for different perpous, those account have no email.

so, liferay will keep throws UserEmailAddressException$MustNotBeNull

how to avoid it?

thumbnail
Scarletake Bwi, modified 4 Years ago. Liferay Master Posts: 764 Join Date: 1/5/10 Recent Posts

Hi Scarletake,

Have you tried this already: https://liferay.dev/ask/questions/development/ldap-import-with-no-email-1?

Regards

Scarletake Bwi, modified 4 Years ago. Expert Posts: 327 Join Date: 12/20/10 Recent Posts

thank you!

it look works.