Bug #67225
closed
CheckboxViewHelper checked attribute
Added by Kevin Ditscheid over 9 years ago.
Updated about 6 years ago.
Description
There is a wrong initialization for the CheckboxViewHelper checked parameter. It is declared as a boolean, but the variable is initialized with NULL.
Additionally there are some conditions which test for === NULL instead of FALSE.
The same problem occures for the RadioViewHelper and the required argument of the TextfieldViewHelper.
And just for the sake of correctness, the $multiple parameter should be initialized with FALSE instead of NULL, too
- Status changed from New to Under Review
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/40646
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/40646
Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/40646
Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/40646
Patch set 7 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/40646
The NULL construct is needed to enforce unchecked checkboxes.
- Assignee set to Frederic Gaus
Patch set 8 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/40646
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
- Status changed from Resolved to Under Review
- Status changed from Under Review to Resolved
- Status changed from Resolved to Closed
Also available in: Atom
PDF