zendframework/zf2 — pull request #6412 by gag237 (2014-06-24 18:54:56+00:00)
Title: Fix nested CollectionInputFilter not valid if count not specified

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',
),
)
)
)
)