Foren
BatchUpdateException after add user LF 6.1
sawi _, geändert vor 11 Jahren.
BatchUpdateException after add user LF 6.1
Regular Member Beiträge: 165 Beitrittsdatum: 27.03.09 Neueste Beiträge
Hi
I have problem with add User :
UserLocalServiceUtil.addUser(UserLocalServiceUtil.getDefaultUserId(themeDisplay.getCompanyId()), userToCreate.getCompanyId(), autoPassword,
password1, password2, autoScreenName, null, userToCreate.getEmailAddress(),
facebookId, openId, Locale.getDefault(), userToCreate.getFirstName(),
userToCreate.getMiddleName(), userToCreate.getLastName(), prefixId, suffixId,
userToCreate.getMale(), userToCreate.getBirthday().getMonth(),
userToCreate.getBirthday().getDay(), userToCreate.getBirthday().getYear(),
userToCreate.getJobTitle(), groupIds, organizationIds, roleIds, userGroupIds,
sendEmail, serviceContext);
after add user from portlet when I go to control-panel->portal settings and click save I got error:
Caused by: java.sql.BatchUpdateException: Duplicate entry '10154-email@asd.pl' for key 'IX_615E9F7A'
anybody know what is wrong?
Regards
sawi
I have problem with add User :
UserLocalServiceUtil.addUser(UserLocalServiceUtil.getDefaultUserId(themeDisplay.getCompanyId()), userToCreate.getCompanyId(), autoPassword,
password1, password2, autoScreenName, null, userToCreate.getEmailAddress(),
facebookId, openId, Locale.getDefault(), userToCreate.getFirstName(),
userToCreate.getMiddleName(), userToCreate.getLastName(), prefixId, suffixId,
userToCreate.getMale(), userToCreate.getBirthday().getMonth(),
userToCreate.getBirthday().getDay(), userToCreate.getBirthday().getYear(),
userToCreate.getJobTitle(), groupIds, organizationIds, roleIds, userGroupIds,
sendEmail, serviceContext);
after add user from portlet when I go to control-panel->portal settings and click save I got error:
Caused by: java.sql.BatchUpdateException: Duplicate entry '10154-email@asd.pl' for key 'IX_615E9F7A'
anybody know what is wrong?
Regards
sawi