Duplicated validation error messages appearing in Beta




Niall wrote Jun 12, 2008 at 2:11 PM

Can't use the carriage return when using FF in here then :/

Not sure if you are aware of this but FormViewForm.aspx is duplicating the invalid email error message twice.

SimonCropp wrote Jul 2, 2008 at 8:25 AM

Yep I am aware of it.
I actually intend to fix it using JQuery, i.e. the same way we are working on the ASP.MVC integration. Unfortunately the standard ASP.net validation framework (which the asp functionality is currently built on used) is very difficult o extend and use.

This will most likely not be fixed in the short term. I am no using the framework for web validation ATM so it is a low priority for me.

If you discover a fix send me a patch.



tugando wrote Jan 18, 2009 at 8:38 PM

I found the bug that is causing this. If you look in the MemberValidationManagerInstance class, in the CheckValidMember method, you will see the following declaration:

Rule propertyRule = infoDescriptor.Rules[index];

It should be replaced with:

Rule propertyRule = rules[index];

wrote Feb 13, 2013 at 11:33 PM