Foren

duplicate email address

thumbnail
darren rose, geändert vor 8 Jahren.

duplicate email address

Regular Member Beiträge: 215 Beitrittsdatum: 04.04.15 Neueste Beiträge
I am using the api to create users
I need to support duplicate email addresses, how do I do this?
Currently I am getting duplicate key exceptions when performing and insert or update.
thumbnail
David H Nebinger, geändert vor 8 Jahren.

RE: duplicate email address

Liferay Legend Beiträge: 14919 Beitrittsdatum: 02.09.06 Neueste Beiträge
You cannot. It is simply not supported, you will not be able to do this.
thumbnail
Sebastian Wörner, geändert vor 8 Jahren.

RE: duplicate email address

Junior Member Beiträge: 46 Beitrittsdatum: 18.11.14 Neueste Beiträge
David H Nebinger:
You cannot. It is simply not supported, you will not be able to do this.


We run in the same problem. In our current portal, we are used to create multiple users on one and the same e-mail adress.
Our permissions are very wide and deep and it is easy for testing and controlling to have more than one user.
It is also easy for support or administrator to create testuser quickly to analyze problems and errors.

How other customers solve the problem?
thumbnail
Vishal Kumar, geändert vor 8 Jahren.

RE: duplicate email address

Regular Member Beiträge: 198 Beitrittsdatum: 12.12.12 Neueste Beiträge
What you need to do. override liferay code where they do duplicate email address check and also delete "unique index" in db on email address.
thumbnail
darren rose, geändert vor 8 Jahren.

RE: duplicate email address

Regular Member Beiträge: 215 Beitrittsdatum: 04.04.15 Neueste Beiträge
Sebastian Wörner:
David H Nebinger:
You cannot. It is simply not supported, you will not be able to do this.


We run in the same problem. In our current portal, we are used to create multiple users on one and the same e-mail adress.
Our permissions are very wide and deep and it is easy for testing and controlling to have more than one user.
It is also easy for support or administrator to create testuser quickly to analyze problems and errors.

How other customers solve the problem?


Hi,

I solved this using a custom email field via the expandobridge

regards
thumbnail
Vishal Kumar, geändert vor 8 Jahren.

RE: duplicate email address

Regular Member Beiträge: 198 Beitrittsdatum: 12.12.12 Neueste Beiträge
Awesome emoticon