In my User model, I have an e-mail field and a user profile page where the user can update details from his/her profile. The validation rule is:
public function rules()
{
return array(
...
array('email', 'email', 'allowName'=>true),
...
);
}
I happen to have users with e-mails that contain a dot in the part before @ (eg. V.Laras@domain.co). Using the validation rule as seen above, the validation fails upon saving the model.
This happened after upgrading to 1.0.11 (up until 1.0.10 it worked fine). Even with or without the allowName property set to true, the validation always fails.