Bug #86294
closedGallery Data-Processor of EXT:frontend casts the cropVariant into integer
100%
Description
The Gallery Data-Processor of EXT:frontend casts the cropVariant into integer.
That isn't the expected behaviour, because cropVariant identifier also can be a string identifier like 'desktop' or 'mobile'.
This casting results, that always the default cropVariant is used, no matter if there is another one passed or not.
$this->cropVariant = (int)$this->getConfigurationValue('cropVariant') ?: 'default';
Updated by Gerrit Code Review about 6 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 https://review.typo3.org/58312
Updated by Gerrit Code Review about 6 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58312
Updated by Gerrit Code Review about 6 years ago
Patch set 1 for branch TYPO3_8-7 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58317
Updated by Anonymous about 6 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset bd7d0e6be3f0e8e253ebf58c715cbd0704c7f9b2.