Details
-
Bug
-
Resolution: Fixed
-
Medium
-
4.4.0, 4.5.0alpha
-
None
Description
Hi there.
Suppose a site where you have
RequireUniqueMail=false
in your site ini.
trying to do some user import usign eZContentFunctions::createAndPublishObject, it happens that fromString method from eZUserDatatype has following piece of code
if ( eZUser::fetchByName( $login ) || eZUser::fetchByEmail( $email ) ) return false;
so, it will not work as expected. User data will not be stored properly because of that false.
eZUser::requireUniqueEmail should be added to that check
Steps to reproduce
summary says it all