Project

General

Profile

Actions

Bug #88324

open

Translated metadata of file shown untranslated in backend-page-module

Added by Stefan Neufeind about 5 years ago. Updated 20 days ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
Backend User Interface
Target version:
-
Start date:
2019-05-09
Due date:
% Done:

0%

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

Description

How to reproduce:
  • Upload an image to your server
  • Give it metadata (a description) in the default-language as well as in a translation
  • Add that file (image) to a page
  • Since no override is set for the description the page-module shows the description from the file-metadata

But on the translated version of the image-element also the untranslated meta-data is shown - although such a translation exists and the frontend shows correct the translated metadata-description.

Since this bug affects the backend-view only I don't see it as highly critical, but inconsistent.

Actions #1

Updated by Riccardo De Contardi 20 days ago

I think that this affects for sure TYPO3 11 and in some way also 12 and 13

I'll explain my test:

Prerequisites

  • TYPO3 with two languages: Italian (Default)(UID=0) and English (UID=1)
  • A page "Testpage" translated in two languages

The test

  1. Upload an image in Filelist module e.g. on /fileadmin/images/test.png
  2. Edit its metadata, e.g.
    1. Alt Text: "Alt Text in Italian"
    2. Description: "Description in Italian"
    3. Title: "Title in Italian"
  3. Use the "Create metadata for this file in English" option
    1. Alt Text: "Alt Text in English"
    2. Description: "Description in English"
    3. Title: "Title in English"
  4. Save everything
  5. Go to the page "Pagetest" and create a "Images only" content element in the Default language
  6. Edit it > Tab "Images" > Add the "test.png" image, save
  7. Page module > set the view as "Language Comparison - All languages"
  8. translate the content element (connected mode)

Results for TYPO3 11

  • on the Page Module, the two columns of the "language comparison view" show the CE and the Metadata "Description", but both reads "Description in Italian" (wrong)
  • on the Page Module, the two columns of the "language comparison view", if you inspect the code of the thumbnail image, the img tag has the filename test.png as the alt attribute on both languages
  • if you edit the English version of the CE > tab "Images" > the record shows the Metadata "Title" but it reads "Title in italian (test.png)" (wrong)
  • if you expand the section, the Alt Text, Description and Title are the ones in English (Correct)

Results for TYPO3 12 and 13

  • on the Page Module, the two columns of the "language comparison view" show the CE but no metadata is shown (I think it has been removed)
  • on the Page Module, the two columns of the "language comparison view", if you inspect the code of the thumbnail image, the img tag reads "Alt text in Italian" on both languages (wrong)
  • if you edit the English version of the CE > tab "Images" > the record shows the Metadata "Title" but it reads "Title in italian (test.png)" (wrong)
  • if you expand the section, the Alt Text, Description and Title are the ones in English (Correct)
Actions

Also available in: Atom PDF