Bug #93138
closedLocalCropScaleMaskHelper causes TypeError with clickEnlarge
100%
Description
TYPO3 Version 10.4.11 after migrating from 8.7.31
I'm getting:
Argument 1 passed to TYPO3\CMS\Core\Imaging\ImageManipulation\Area::__construct() must be of the type float, null given, called in typo3_src-10.4.11/typo3/sysext/core/Classes/Resource/Processing/LocalCropScaleMaskHelper.php on line 209
at TYPO3\CMS\Core\Imaging\ImageManipulation\Area->__construct(null, null, null, null)
$options['crop'] = new Area($cropData->x, $cropData->y, $cropData->width, $cropData->height);
changing to
$options['crop'] = new Area((float)$cropData->x, (float)$cropData->y, (float)$cropData->width, (float)$cropData->height);
solved this issue
Updated by Gerrit Code Review about 1 year ago
- Status changed from New to Under Review
Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/81079
Updated by Gerrit Code Review about 1 year ago
Patch set 1 for branch 12.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/81064
Updated by Gerrit Code Review about 1 year ago
Patch set 1 for branch 11.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/81065
Updated by Benni Mack about 1 year ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 481c0a3a8bf87afdd987429e49917d1cdce9362a.