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

Fix nested CollectionInputFilter not valid if count not specified #6412

Conversation

gag237
Copy link
Contributor

@gag237 gag237 commented Jun 24, 2014

Problem using nested collections (CollectionInputFilter in another CollectionInputFilter).

inputFilter config example:

array(
   'type' => 'Zend\InputFilter\CollectionInputFilter',
   'name' => 'first_collection',
   'required' => true,
   'input_filter' => array(
       'type' => 'Zend\InputFilter\InputFilter',
       'second_collection' => array(
           'type' => 'Zend\InputFilter\CollectionInputFilter',
           'name' => 'second_collection',
           'required' => true,
           'input_filter' => array(
               'type' => 'Zend\InputFilter\InputFilter',
               'input' => array(
                   'name' => 'input',
               ),
           )
       )
   )
)

@ezimuel ezimuel added the bug label Aug 6, 2014
@ezimuel ezimuel added this to the 2.3.2 milestone Aug 6, 2014
@weierophinney weierophinney self-assigned this Aug 7, 2014
weierophinney added a commit that referenced this pull request Aug 7, 2014
weierophinney added a commit that referenced this pull request Aug 7, 2014
@weierophinney
Copy link
Member

Cherry-picked to master for release with 2.3.2; merged to both master and develop.

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

4 participants