Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

InputFilter validation group does not allow empty array - no validation #2527

Closed
zfbot opened this Issue Sep 28, 2012 · 3 comments

Comments

Projects
None yet
4 participants

zfbot commented Sep 28, 2012

Jira Information

Original Issue:ZF2-469
Issue Type:Bug
Reporter:matuszemi
Created:08/16/12
Assignee:weierophinney
Components:Zend\InputFilter

Description

InputFilter should allow empty array being set as validation group so no validation is done on the filter.
null - should be considered as not validation group is set - so it gets array keys from inputs on isValid().
array() - empty validation group - validation is performed on none of the inputs.

zfbot commented Sep 28, 2012

This issue was ported from the ZF2 Jira Issue Tracker at
http://framework.zend.com/issues/browse/ZF2-469

Known GitHub users mentioned in the original message or comment:
@matuszemi, @weierophinney

Member

ralphschindler commented Feb 8, 2013

Is this still an issue?

Contributor

ThaDafinser commented Mar 6, 2014

@Maks3w Maks3w closed this Mar 6, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment