This repository was archived by the owner on Dec 14, 2018. It is now read-only.
This repository was archived by the owner on Dec 14, 2018. It is now read-only.
CompositeValueProvider
does not match IBindingSourceValueProvider
contract #2907
Closed
Description
Of the IBindingSourceValueProvider
implementations in MVC, all but CompositeValueProvider
have a Filter()
method that returns null
when the requested BindingSource
does not match. CompositeValueProvider
instead returns an empty CompositeValueProvider
.
Also have a little code in CompositeModelBinder
and MutableObjectModelBinder
that expects the CompositeValueProvider
behaviour of all IBindingSourceValueProvider
impelmentations. That is, they need to change slightly to handle the expected / contracted null
return values from Filter()
.