Bug #66508
closed
tx_form validator throws exception if no validation rules are set
Added by Ruud Silvrants over 9 years ago.
Updated about 6 years ago.
Description
When using a tx_form without any validation rules this occors in the following exception:
PHP Warning: Invalid argument supplied for foreach() in typo3/sysext/form/Classes/Utility/ValidatorUtility.php line 115
The validatorUtility wants to loop over an non existing array.
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/38841
Patch set 1 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/38843
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/38846
This was silently fixed on master with #64668. Still we do small cleanup on master as well.
Patch set 2 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/38843
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
- Category changed from 1602 to Form Framework
- Status changed from Resolved to Closed
Also available in: Atom
PDF