Bug #20977
closedError in tceforms::previewFieldValue
0%
Description
In this function var $field is used but not present, it's missed in the function params.
This issue is fixed in trunk, but error still exists in prior versions of TYPO3.
The fix adds $field to the function params:
function previewFieldValue($value, $config, $field = '') {
This solves the problem, but the calling functions need to pass the field var too.
The only calls in core i found are in tceforms.php
This function was introduced in rev 1817 from Kasper (28.11.2006) with this error, and not changed since that time. The (uninitialized) var $field is used for t3lib_BEfunc::thumbCode($rowCopy,$table,$field, ...
so it should be there to work proper. It seems that the thumb code is delivered also with uninitialized vars, but it's not correct.
(issue imported from #M11848)
Updated by Alexander Opitz over 11 years ago
- Status changed from New to Needs Feedback
- Target version deleted (
0)
The issue is very old, does this issue exists in newer versions of TYPO3 CMS (4.5 or 6.1)?
Updated by Alexander Opitz about 11 years ago
- Status changed from Needs Feedback to Closed
- Is Regression set to No
No feedback for over 90 days.