Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

Fix how inputs for elements nested in collections are merged #156

Closed
wants to merge 3 commits into from

Conversation

weierophinney
Copy link
Member

As reported in #78, if you compose an input filter provider fieldset as a target element of a collection in order to allow providing a default fieldset for the collection, input provider elements composed by the input filter provider fieldset were not being merged correctly into the input filter.

This patch checks to see if the fieldset's input filter represents a collection, and, if so, will check its own composed input filter for the element and merge it if found.

@weierophinney weierophinney added this to the 2.10.1 milestone Apr 26, 2017
Copy link
Contributor

@mwillbanks mwillbanks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why was the composer.lock updated?

As reported in zendframework#78, if you compose an input filter provider fieldset as
a target element of a collection in order to allow providing a default
fieldset for the collection, input provider elements composed by the
input filter provider fieldset were not being merged correctly into the
input filter.

This patch checks to see if the fieldset's input filter represents a
collection, and, if so, will check its own composed input filter for the
element and merge it if found.
weierophinney added a commit that referenced this pull request Apr 26, 2017
weierophinney added a commit that referenced this pull request Apr 26, 2017
Forward port #156

Conflicts:
	CHANGELOG.md
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants