Fix CollectionInputFilter validation when empty data is being processed #5106

Closed
wants to merge 6 commits into
from

2 participants

@atodd

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 weierophinney added a commit that referenced this pull request Oct 22, 2013
@weierophinney weierophinney [#5106] CS fixes
- trailing whitespace
3d4cd83
@weierophinney weierophinney added a commit that referenced this pull request Oct 22, 2013
@weierophinney weierophinney Merge branch 'feature/5106' into develop
Close #5106
Fixes #5046
c23c250
@weierophinney
Zend Framework 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 weierophinney added a commit to zendframework/zend-inputfilter that referenced this pull request May 15, 2015
@weierophinney weierophinney [zendframework/zendframework#5106] CS fixes
- trailing whitespace
7ed4a71
@weierophinney weierophinney added a commit to zendframework/zend-inputfilter that referenced this pull request May 15, 2015
@weierophinney weierophinney Merge branch 'feature/5106' into develop bb4175e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment