[TASK] EXT:form - Optimize validation in InArrayValidator 05/47105/9
authorFlorian Mast <flo.mast@web.de>
Sat, 5 Mar 2016 15:21:59 +0000 (16:21 +0100)
committerMorton Jonuschat <m.jonuschat@mojocode.de>
Fri, 1 Apr 2016 10:33:03 +0000 (12:33 +0200)
commite8d3853c54fca4198d16f5b1de76a48171740655
treecf9f81f0fc9221d472951bf264a299290af08ed3
parentb6c8bb04cb8aeb518a789bac1088c7697c6484c6
[TASK] EXT:form - Optimize validation in InArrayValidator

The InArrayValidator is currently case sensitive. This
patchset adds a new TypoScript option "ignorecase".

Furthermore, unit tests are added to test the new option
"ignorecase". The patchset also solves an unreported
bug which occurs when using the InArrayValidator in the
form wizard.

Resolves: #69355
Releases: master, 7.6
Change-Id: I9f93b533947bbaef2259c2a53265af452a78924f
Reviewed-on: https://review.typo3.org/47105
Reviewed-by: Susanne Moog <typo3@susannemoog.de>
Tested-by: Susanne Moog <typo3@susannemoog.de>
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
typo3/sysext/form/Classes/Domain/Validator/AbstractValidator.php
typo3/sysext/form/Classes/Domain/Validator/InArrayValidator.php
typo3/sysext/form/Tests/Unit/Validator/AbstractValidatorTest.php
typo3/sysext/form/Tests/Unit/Validator/InArrayValidatorTest.php
typo3/sysext/form/Tests/Unit/Validator/LengthValidatorTest.php