Project

General

Profile

Actions

Bug #86294

closed

Gallery Data-Processor of EXT:frontend casts the cropVariant into integer

Added by Thomas Deuling over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Frontend
Start date:
2018-09-18
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
no-brainer
Is Regression:
Sprint Focus:

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';
Actions

Also available in: Atom PDF