{"action":"created","issue":{"url":"https://api.github.com/repos/JeremySkinner/FluentValidation/issues/655","repository_url":"https://api.github.com/repos/JeremySkinner/FluentValidation","labels_url":"https://api.github.com/repos/JeremySkinner/FluentValidation/issues/655/labels{/name}","comments_url":"https://api.github.com/repos/JeremySkinner/FluentValidation/issues/655/comments","events_url":"https://api.github.com/repos/JeremySkinner/FluentValidation/issues/655/events","html_url":"https://github.com/JeremySkinner/FluentValidation/issues/655","id":284964780,"number":655,"title":"ModelState.IsValid == false with no errors","user":{"login":"b1ade68","id":4428281,"avatar_url":"https://avatars0.githubusercontent.com/u/4428281?v=4","gravatar_id":"","url":"https://api.github.com/users/b1ade68","html_url":"https://github.com/b1ade68","followers_url":"https://api.github.com/users/b1ade68/followers","following_url":"https://api.github.com/users/b1ade68/following{/other_user}","gists_url":"https://api.github.com/users/b1ade68/gists{/gist_id}","starred_url":"https://api.github.com/users/b1ade68/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/b1ade68/subscriptions","organizations_url":"https://api.github.com/users/b1ade68/orgs","repos_url":"https://api.github.com/users/b1ade68/repos","events_url":"https://api.github.com/users/b1ade68/events{/privacy}","received_events_url":"https://api.github.com/users/b1ade68/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-12-28T18:15:43Z","updated_at":"2017-12-30T19:32:47Z","closed_at":null,"author_association":"NONE","body":"In Version 7.3.3 I have a problem with a validator. In the Controller i can see `ModelState.IsValid == false` but no errors, because `ModelState.ValidationState == Unvalidated` .\r\n\r\nSame validator works fine in version 7.3.2 (with exactly same data posted). I'm using fluent validator in an asp net core 2 application. \r\nThe validator is the following PaymentModelEditEnrollValidator  \r\n\r\n```c#\r\n   \r\n   public class PaymentModelEditEnrollValidator : PaymentModelEditValidator<PaymentModelEditEnroll>\r\n    {\r\n\r\n    }\r\n\r\n    public class PaymentModelEditValidator : PaymentModelEditValidator<PaymentModelEdit>\r\n    {\r\n\r\n    }\r\n\r\n    public abstract class PaymentModelEditValidator<T> : AbstractValidator<T> where T : PaymentModelEdit\r\n    {\r\n        public PaymentModelEditValidator()\r\n        {\r\n\r\n            When(en => en.CanHaveExtraPayment, () =>\r\n             {\r\n\r\n                 When(en => en.Detail1.Amount.GetValueOrDefault(0) > 0, () =>\r\n                 {\r\n                     RuleFor(en => en.Detail1.ReasonId).NotNull().NotEmpty();\r\n                     RuleFor(en => en.Detail1.TypeId).NotNull().NotEmpty();\r\n                 });\r\n\r\n                 When(en => en.Detail2.Amount.GetValueOrDefault(0) > 0, () =>\r\n                 {\r\n                     RuleFor(en => en.Detail2.ReasonId).NotNull().NotEmpty();\r\n                     RuleFor(en => en.Detail2.TypeId).NotNull().NotEmpty();\r\n                 });\r\n\r\n                 When(en => en.Detail3 != null, () =>\r\n                 {\r\n                     When(en => en.Detail3.Amount.GetValueOrDefault(0) > 0, () =>\r\n                     {\r\n                         RuleFor(en => en.Detail3.ReasonId).NotNull().NotEmpty();\r\n                         RuleFor(en => en.Detail3.TypeId).NotNull().NotEmpty();\r\n                     });\r\n                 });\r\n                 When(en => en.Detail4 != null, () =>\r\n                 {\r\n                     When(en => en.Detail4.Amount.GetValueOrDefault(0) > 0, () =>\r\n                      {\r\n                          RuleFor(en => en.Detail4.ReasonId).NotNull().NotEmpty();\r\n                          RuleFor(en => en.Detail4.TypeId).NotNull().NotEmpty();\r\n                      });\r\n                 });\r\n\r\n               \r\n             });\r\n        }\r\n    }\r\n\r\n```\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/JeremySkinner/FluentValidation/issues/comments/354564066","html_url":"https://github.com/JeremySkinner/FluentValidation/issues/655#issuecomment-354564066","issue_url":"https://api.github.com/repos/JeremySkinner/FluentValidation/issues/655","id":354564066,"user":{"login":"JeremySkinner","id":90130,"avatar_url":"https://avatars3.githubusercontent.com/u/90130?v=4","gravatar_id":"","url":"https://api.github.com/users/JeremySkinner","html_url":"https://github.com/JeremySkinner","followers_url":"https://api.github.com/users/JeremySkinner/followers","following_url":"https://api.github.com/users/JeremySkinner/following{/other_user}","gists_url":"https://api.github.com/users/JeremySkinner/gists{/gist_id}","starred_url":"https://api.github.com/users/JeremySkinner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JeremySkinner/subscriptions","organizations_url":"https://api.github.com/users/JeremySkinner/orgs","repos_url":"https://api.github.com/users/JeremySkinner/repos","events_url":"https://api.github.com/users/JeremySkinner/events{/privacy}","received_events_url":"https://api.github.com/users/JeremySkinner/received_events","type":"User","site_admin":false},"created_at":"2017-12-30T19:32:47Z","updated_at":"2017-12-30T19:32:47Z","author_association":"OWNER","body":"I’m away on vacation at the moment but will be back next week - I’ll look at this in more detail then."}}
{"actor":{"display_login":"JeremySkinner"}}