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

Fix CollectionInputFilter validation when empty data is being processed #5106

Closed
wants to merge 6 commits into from

Conversation

atodd
Copy link
Contributor

@atodd atodd commented Sep 12, 2013

Related to #5046. This pull adds to new methods to CollectionInputFilter, clearValues and clearRawValues. These are called from the BaseInputFilter::populate method when the data is empty and from CollectionInputFilter::isValid when $this->collectionData is empty.

weierophinney added a commit that referenced this pull request Oct 22, 2013
- trailing whitespace
weierophinney added a commit that referenced this pull request Oct 22, 2013
@ghost ghost assigned weierophinney Oct 22, 2013
@weierophinney
Copy link
Member

I had to cherry-pick the commits due to 840986a -- this was bringing in a bunch of extraneous changes. Merged to develop for release with 2.3.0.

weierophinney added a commit to zendframework/zend-inputfilter that referenced this pull request May 15, 2015
weierophinney added a commit to zendframework/zend-inputfilter that referenced this pull request May 15, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants