Edited Issue: Set ValidationContext.MemberName [729]
When implementing a custom ValidationAttribute, the ValidationContext passed to IsValid does not have the MemberName property set. Solution would be to set the MemberName from the...
View ArticleEdited Issue: Set ValidationContext.MemberName [729]
When implementing a custom ValidationAttribute, the ValidationContext passed to IsValid does not have the MemberName property set. Solution would be to set the MemberName from the...
View ArticleCommented Issue: Set ValidationContext.MemberName [729]
When implementing a custom ValidationAttribute, the ValidationContext passed to IsValid does not have the MemberName property set. Solution would be to set the MemberName from the...
View ArticleCommented Issue: ValidationResult returned from CustomValidation method with...
Porting from https://aspnet.codeplex.com/workitem/7765:I found that if you implement a validation check like below, the error message is printed with @Html.ValidationSummary(true), but, not with the...
View ArticleEdited Issue: ValidationResult returned from CustomValidation method with...
Porting from https://aspnet.codeplex.com/workitem/7765:I found that if you implement a validation check like below, the error message is printed with @Html.ValidationSummary(true), but, not with the...
View ArticleCommented Issue: Model Validation key generation is incorrect when...
When generating model keys for property errors during validation, we append the property name followed by the ErrorName from ModelValidationResult if it's available. Currently the...
View ArticleEdited Issue: Model Validation key generation is incorrect when...
When generating model keys for property errors during validation, we append the property name followed by the ErrorName from ModelValidationResult if it's available. Currently the...
View ArticleCreated Feature: Update jQuery Unobtrusive Validation to depend on jQuery >...
Currently jquery.validate.unobtrusive.js does not have a direct dependency on jQuery and jQuery.Validate.js which it depends on supports jQuery >= 1.4. We should instead have it additionally depend...
View ArticleClosed Feature: DisplayNameAttribute ignored in Web API 2 validation errors...
The following returns a model state with TerriblePropertyName is required instead of GoodName is required. This is different from MVC. Using Web API 2.```[DisplayName("GoodName")][Required] public...
View ArticleCommented Issue: FormValueProvider does not recognize array item members from...
This bug occurs when using jQuery POST to send complex JavaScript objects to the server as encoded HTTP form data.For example, if I need to post the following object:```{ singleProperty: 'hello',...
View ArticleClosed Issue: [MQ] Find and clean up instances of re-throwing exceptions with...
Porting from TFS:As of 4/4/2013 these are all the cases of throwing an existing exception (not all necessarily need to be fixed!):C:\ddgit\WebStackRuntime\src\Common\TaskHelpersExtensions.cs(476):...
View ArticleEdited Issue: [MQ] Find and clean up instances of re-throwing exceptions with...
Porting from TFS:As of 4/4/2013 these are all the cases of throwing an existing exception (not all necessarily need to be fixed!):C:\ddgit\WebStackRuntime\src\Common\TaskHelpersExtensions.cs(476):...
View ArticleEdited Issue: Output caching requires 'page' markers to work. [1513]
Porting from connect https://connectadmin/Feedback/ConnectTab.aspx?FeedbackID=759233:Problem Description:When deploying a precompiled MVC application, the Views folder is not required. All the views...
View ArticleClosed Issue: Output caching requires 'page' markers to work. [1513]
Porting from connect https://connectadmin/Feedback/ConnectTab.aspx?FeedbackID=759233:Problem Description:When deploying a precompiled MVC application, the Views folder is not required. All the views...
View ArticleCommented Issue: Trace JSON.NET exceptions in JsonMediaTypeFormatter [193]
JSON format errors are not logged in trace. It seems that JsonMediaTypeFormatter will swallow JSON.NET exception when serialize request body. It's better to log those error in trace to improve the...
View ArticleEdited Issue: Trace JSON.NET exceptions in JsonMediaTypeFormatter [193]
JSON format errors are not logged in trace. It seems that JsonMediaTypeFormatter will swallow JSON.NET exception when serialize request body. It's better to log those error in trace to improve the...
View ArticleCommented Issue: jquery.validate.unobtrusive obtrusively attaches to all...
Porting from connect bug https://connectadmin/Feedback/ConnectTab.aspx?FeedbackID=810755:Problem Description:jquery.validate.unobtrusive always unconditionally calls .validate() on all forms in the...
View ArticleEdited Issue: jquery.validate.unobtrusive obtrusively attaches to all forms...
Porting from connect bug https://connectadmin/Feedback/ConnectTab.aspx?FeedbackID=810755:Problem Description:jquery.validate.unobtrusive always unconditionally calls .validate() on all forms in the...
View ArticleEdited Issue: Remove EditorFor HTML attribute handling inconsistencies [1434]
Two issues to address:1. Default collection and complex object editor templates ignore the "htmlAttribute" key in view data. This causes consistent application of `@Html.EditorFor(… , new {...
View ArticleEdited Issue: Can filter and order on relationships that are navigable [1598]
Setting IsNotNavigable() on a navigation property should also set IsNotFilterable() and IsUnsortable() however, if you define a model with customers, related orders and related credit score, and you...
View Article