Actions
Bug #83247
closedTranslating sys_file_metadata results in width 0 and height 0
Status:
Rejected
Priority:
Must have
Assignee:
-
Category:
File Abstraction Layer (FAL)
Target version:
-
Start date:
2017-12-07
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
8
PHP Version:
7.1
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
Steps to reproduce:
- upload image to folder
- translate metadata of image
- save
in the database at sys_file_metadata is a new entry for the translation, but width and height is set to 0
This might not be a problem at first, but if you use a system with different crop variants the image tag of a text + image element recieves width="0" and height="0".
Debugged a little and got the point of getCroppedDimensionalProperty in GalleryProcessor. With default Crop variant set to 1:1 he tries to get a dimensional by multiplying 1*0 -> width = 0 and height = 0.
This only applies to Files with a translated meta data which results in width and height set to 0.
End result: Text + Image displays Image only in default language, if the image's meta data is translated in filelist.
TYPO3 version 8.7.8
PHP 7.1
Updated by Frans Saris about 7 years ago
- Is duplicate of Bug #83140: Images not shown when metadata is translated added
Updated by Frans Saris about 7 years ago
- Related to Bug #73076: Publishing of changed sys_file_metadata fails because of missing config array for with and height fields added
Updated by Frans Saris about 7 years ago
- Status changed from New to Rejected
Fixed with #73076 will be part of next release
Actions