Project

General

Profile

Bug #80214

Updated by Marcus Schwemer over 7 years ago

In a project I have the following cropping configuration in TCA of "sys_file_reference": 

 <pre> 
 $GLOBALS['TCA']['sys_file_reference']['columns']['crop']['config'] = [ 
     'type' => 'imageManipulation', 
     'ratios' => [ 
         '2' => '2:1', 
         '0.5' => '1:2', 
         '3' => '3:1', 
         '0.3333333333333333' => '1:3', 
         '1.7777777777777777' => '16:9', 
     ], 
 ]; 
 </pre> 

 I do not have any cropvariants defined. According to the docs of cropvariants this configuration should still work. 

 If I update to commit "b534440e8bd789a1b1f3e84e2e173262094fa836" or later (#79997), I receive a fatal error in the BE: 

 <pre> 
 #1351584844: An argument "key" or "id" has to be provided (More information) 

 TYPO3Fluid\Fluid\Core\Exception thrown in file 
 .../typo3_src/typo3/sysext/fluid/Classes/ViewHelpers/TranslateViewHelper.php /Users/in2marcus/Sites/hska-relaunch/Web/typo3_src/typo3/sysext/fluid/Classes/ViewHelpers/TranslateViewHelper.php in line 140. 
 </pre> 

 If I reset the example in "typo3/sysext/backend/Resources/Private/Templates/ImageManipulation/ImageManipulationElement.html", it works as before ... 

Back