Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I'm using Umbraco version 7.2.1 assembly: 1.0.5462.37503 and I've place the following regex
^([a-zA-Z0-9_\-\.]+)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([a-zA-Z0-9\-]+\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\]?)$
on my property to validate it as an email address.
When I'm editing the content and try to 'save & publish' the editor corrcetly highlights the incorrect entry but it gets saved anyway.
Just navigate to another node and back again and you can see it has populated the field with the incorrect value.
This is bad.
On a secondary note, previous versions of Umbarco used to take note of the 'Mandatory' setting before validating.
Now it seems that just by placing a regex expression on the property it makes it mandatory too.
I think it was better before.
Regards, Matt
Hi Matt
Sounds like a bug - Do you mind reporting it on the issue tracker if it has not been so already? And if you do so please share the link in here so other who may come across can go straight to the issue and vote it up.
Cheers, Jan
Thanks, raised here.
The second point I made has already been raised.
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Property validation not working properly in v7.2.1
I'm using Umbraco version 7.2.1 assembly: 1.0.5462.37503 and I've place the following regex
on my property to validate it as an email address.
When I'm editing the content and try to 'save & publish' the editor corrcetly highlights the incorrect entry but it gets saved anyway.
Just navigate to another node and back again and you can see it has populated the field with the incorrect value.
This is bad.
On a secondary note, previous versions of Umbarco used to take note of the 'Mandatory' setting before validating.
Now it seems that just by placing a regex expression on the property it makes it mandatory too.
I think it was better before.
Regards, Matt
Hi Matt
Sounds like a bug - Do you mind reporting it on the issue tracker if it has not been so already? And if you do so please share the link in here so other who may come across can go straight to the issue and vote it up.
Cheers, Jan
Thanks, raised here.
The second point I made has already been raised.
is working on a reply...