Bug #81116

Custom image crop ration breaking BE with #1351584844: An argument "key" or "id" has to be provided

Added by Viktor Livakivskyi over 4 years ago. Updated almost 3 years ago.

Status:
Rejected
Priority:
Must have
Assignee:
-
Category:
-
Target version:
-
Start date:
2017-05-02
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
8
PHP Version:
7.1
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Issue is same as closed #80214

My TCA/Overrides/sys_file_reference.php

$GLOBALS['TCA']['sys_file_reference']['columns']['crop']['config']['cropVariants']['default']['allowedAspectRatios']['21:9'] = [
    'title' => '21:9',
    'value' => 21 / 9
];

Editing tt_content record with images in BE brings:

#1351584844: An argument "key" or "id" has to be provided

TYPO3 8.7.1


Related issues

Related to TYPO3 Core - Bug #80214: ImageManipulation: Example for dynamic variable name parts breaks BEClosed2017-03-09

Actions

Also available in: Atom PDF