Quantcast
Channel: ASPNETWebStack Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 7215

Created Unassigned: [Regression]Validation error message for string property changed for form url encoding [1044]

$
0
0
Build - May 8th

Here is my model
public class ValidationModel
{
public int IntReq { get; set; }

[Required]
public string StrNotReqAndDMIsReq { get; set; }
}

My request
var formUrlEncodedBadObject = "IntReq=1";
object mediaTypeFormatter = "application/x-www-form-urlencoded";
request.Content = new StringContent((string)formUrlEncodedBadObject, System.Text.Encoding.UTF8, (string)mediaTypeFormatter);

When I do a Post, i see
The StrNotReqAndDMIsReq __field__ is required.

On April 25th build, I see
The StrNotReqAndDMIsReq __property__ is required.

Attached fiddler session



Viewing all articles
Browse latest Browse all 7215

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>