Bug #62961
closedWarning because of missing entry noScale
100%
Description
#1: PHP Warning: Illegal string offset 'noScale' in /export/home/typo3/typo3_sources/typo3_src-6.2.6/typo3/sysext/core/Classes/Imaging/GraphicalFunctions.php line 2216 (More information) TYPO3\CMS\Core\Error\Exception thrown in file /export/home/typo3/typo3_sources/typo3_src-6.2.6/typo3/sysext/core/Classes/Error/ErrorHandler.php in line 101. 11 TYPO3\CMS\Core\Error\ErrorHandler::handleError(2, "Illegal string offset 'noScale'", "/export/home/typo3/typo3_sources/typo3_src-6.2.6/t…sysext/core/Classes/Imaging/GraphicalFunctions.php", 2216, array) /export/home/typo3/typo3_sources/typo3_src-6.2.6/typo3/sysext/core/Classes/Imaging/GraphicalFunctions.php: 02214: // given or if the destination w/h matches the original image 02215: // dimensions or if the option to not scale the image is set) 02216: $noScale = !$w && !$h || $data[0] == $info[0] && $data[1] == $info[1] || $options['noScale']; 02217: if ($noScale && !$data['crs'] && !$params && !$frame && $newExt == $info[2] && !$mustCreate) { 02218: // Set the new width and height before returning,
there is a missing check if the array key exists.
problem in 6.2 and 7.x
Updated by Gerrit Code Review about 10 years ago
- 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/34178
Updated by Gerrit Code Review about 10 years ago
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/34178
Updated by Gerrit Code Review about 10 years ago
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/34178
Updated by Gerrit Code Review about 10 years ago
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/34178
Updated by Gerrit Code Review about 10 years ago
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/34197
Updated by Kay Strobach about 10 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 4b3c14647e663e62f2ae55aab15c4e626bd667c6.