Support NotEmpty() client side for int properties

The NotEmpty() rule does not validate int values client side if the default value is 0. Here's the Validator: public class CompanyTankDetailModel { [Display(Name="Time (minu...

Id #7102 | Release: None | Updated: Apr 30 at 5:21 PM by jrummell | Created: Apr 30 at 5:21 PM by jrummell

Validation for unique value in all text boxes

I have 24 Text boxes and need to validate them using fluent validation. Value in all the text boxes should be unique. I am trying to do it the below way. RuleFor(Function(Summary) Summary.HICon...

Id #7101 | Release: None | Updated: Apr 28 at 10:06 AM by JeremyS | Created: Apr 25 at 12:37 PM by Amrutha

InstanceCache concurrent implementation can crash

The operation "GetOrCreateInstance(Type, Func<Type, object>)" has a "manual" concurrent implementation which try to get a value from a Dictionary outside the lock() block, and after this isexecuted...

Id #7100 | Release: None | Updated: Apr 24 at 10:10 PM by lucianomx | Created: Apr 24 at 10:10 PM by lucianomx

Overloads of ValidateAndThrow

In DefaultValidatorExtensions there are: public static ValidationResult Validate<T>(this IValidator<T> validator, T instance, params Expression<Func<T, object>>[] propertyExpressions) public st...

Id #7099 | Release: None | Updated: Apr 9 at 4:24 PM by JeremyS | Created: Apr 6 at 4:10 PM by Gimmi

FluentValidationModelValidatorProvider incompatible with MVC4

In wanting to add in collection of FluentValidationModelValidatorProvider ModelValidatorProviders with MVC4, it generated an exception indicating that the type does not correponding to the type of ...

Id #7097 | Release: None | Updated: Mar 15 at 5:07 PM by mchouteau | Created: Mar 15 at 3:55 PM by mchouteau

ValidationFailure constructors cause System.Security.VerificationException in unit tests being run with code coverage

When running any unit test under a code coverage tool (e.g. TestDriven.NET "Test With" NCover or VS Coverage) which contains a call to either of the ValidationResult constructors, I get a System.Se...

Id #7096 | Release: None | Updated: Feb 29 at 10:58 AM by jbfurlong | Created: Jan 25 at 9:24 PM by StephenSwensen

Issues in ShouldHaveValidationErrorFor and ShouldNotHaveValidationErrorFor methods

We cannot use ShouldHaveValidationErrorFor and ShouldNotHaveValidationErrorFor methods for nested properties. For example, for tested class has a property of another class. For example, we cannot w...

Id #7095 | Release: None | Updated: Nov 27 2011 at 5:17 AM by AndreyMaz | Created: Nov 25 2011 at 1:21 PM by AndreyMaz

FluentValidation broken on Windows Phone 7

Create a new Windows Phone 7 application using profile 7.1 (should also crash in 7.0), add a NuGet reference to FluentValidation and try to instantiate the following class in the application. A cra...

Id #7093 | Release: None | Updated: Nov 3 2011 at 4:15 PM by JeremyS | Created: Oct 31 2011 at 9:29 AM by erazor

Validation on models that don't have validation defined

Hi, I'm using mvc3 + fv + ninject I have simple controller and the model that don't have validation configured(Pager)...but fluent validation is triggered on that object too, so code breaks u...

Id #7091 | Release: None | Updated: Oct 19 2011 at 9:21 AM by marko999 | Created: Oct 18 2011 at 2:32 PM by marko999

Validation a collection of deep properties (with complex child validators)

First I would like to thank for great job, your library is awesome I'm using it in every project I work on. Now to my problem. I need to validate an object graph but not whole object, just a col...

Id #7090 | Release: None | Updated: Sep 26 2011 at 8:25 AM by bpipe | Created: Sep 26 2011 at 7:35 AM by bpipe