Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
5.2 EE SP1 (5.2.5)
-
trunk, 5.2.x
Description
When the property: users.email.address.required=false, users will not be able to add multiple users with empty email addresses because of a unique index on email address. This has been resolved by adding a new property: users.email.address.auto.suffix This property contains the dummy email address that will be used when creating users with empty email addresses. This will allow the system to store users with empty addresses into the system without affecting the unique index.
As a part of this fix, a new class has been created EmailAddressGenerator:
public String generate(long companyId, long userId)
public boolean isGenerated(String emailAddress)
public boolean isFake(String emailAddress)
Attachments
Issue Links
- is related to
-
LPS-4469 Cannot add or modify user without emailAddress
- Closed