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

Created Issue: Model-binding collection fails when non-collection property shares a prefix [832]

$
0
0
Given a collection property named "foos" and another property named "foosBar", because of the implementation of the PrefixContainer (specifically the IsPrefixMatch method), if "foosBar" is on a boundary checked by Array.BinarySearch, the algorithm will miss all the collection properties, and the collection will be null after model-binding completes.

Viewing all articles
Browse latest Browse all 7215

Trending Articles