Attribute validation not working in concrete5 8.2.1

Permalink
I have Concrete5 8.2.1 on PHP 7.0

How to reproduce:
- Create a new page attribute of type email (Dashboard -> Pages & Themes -> Attributes -> Add Attribute)
- Add that attribute to one of your page (In your page settings -> Attributes)
- Set that attribute's email address to something invalid (like "abcd")
- Save or publish your page => Your page is saved with an invalid attribute while it shouldn't be possible (it should be either blank or a valid email address).

This must be a bug, because I found the email validation code in /concrete/attributes/email/controller.php->validateForm(). But for some reason, it is not executed.

 
MrKDilkington replied on at Permalink Reply
MrKDilkington
Hi jlgrall,

I can confirm this using the latest GitHub develop branch.

An issue was created.
"Email attribute does not validate on form submission #6191"
https://github.com/concrete5/concrete5/issues/6191...