No idea but you could check log files to check if you have any errors. Also, make sure you have correct permissions and ownership to folders and files.
@rsp thanks, i checked the log files and also i have the correct promissions. But there is something, when i try quick repair after pasting the code in the bean file modules/<module_name>/<module_name>.php , it gets stuck on building relationships.
So i did it in custom/modules/<module_name>/<module_name>.php and i get no error, and quick reparis works as well, but still can’t save the email.
@pstevens yeah exactly, it was a mistake that i didn’t start with a “person” template, but now i have more than 100 fields in this module, and it would be really hard to start over with a new template.
That’s a tough call. I would almost consider starting a new “person” module and just copying over the vardefs and do an R&R, problem solved. Then I’d be sure it was working as intended without having to hack the email field. Email has always been a can of worms every time I touch it. There are so many moving parts and it’s way more complicated than you expect once you get into it.
Is this a new module or is it already populated with a bunch of data?
In case you want to try here my instructions for copying fields from one module to another.