Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 292920

Fix comparison in ProtectedUserFieldConstraintValidator

$
0
0

If a user (with administer users permission) has no email address set and it edits it's user profile then the validation in ProtectedUserFieldConstraint fails for the mail field because the current implementation tries to compare arrays with a different structure. Field API returns a nested array with an empty "" (string) value for the mail field.


Viewing all articles
Browse latest Browse all 292920

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>