Skip to content
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
@dougbu

Description

@dougbu

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().

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions