LDAP import user error due to duplicate screen name

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

hi 

i use liferay 7.4.2 ga3 with ldap.

it's connected and works, but it's always throws exception as follows:

com.liferay.portal.kernel.exception.UserScreenNameException$MustNotBeDuplicate: Screen name ueclap458$ must not be duplicate but is already used by user 59098

i use email to auth, and yes, some user's screen name will duplicate, is there any passable to stop this exception?

 

thank you

thumbnail
Olaf Kock, modified 4 Years ago. Liferay Legend Posts: 6441 Join Date: 9/23/08 Recent Posts

In Liferay, screen names must be unique. Among others, they can be used to construct a user's personal profile page, which has a URL containing the screen name - and that only works if one screen name denotes one user.

You'd have to deduplicate the screen name - either by coming up with a different source for it on the LDAP side, by customizing the import process to handle duplicated ones, or other means