Issue Bug Under Review

#92906File Metadata are not editable when translation doesn't exist yet

Sebastian Michaelsen 11/23/20, 13:52 updated 11/11/26, 10:04

Description

In the backend form of sys_file_reference inline records, typically there’s a link where you can edit the metadata of the selected file.

Since the fix for #82178 this link is removed if there is not sys_file_metadata record in the same language as sys_file_reference record.

However obviously editors want to edit metdata for files which have not been explicitly localized before. So I suggest that sys_file_metadata translations are created on demand in this situation.

Reviews 1

Files 1

History 813

  1. Sebastian Michaelsen commented <span data-processor="relativetime" data-value="2020-11-23T13:53:51+00:00" > 11/23/20, 13:53 </span>

    In our project we’re using this patch so that metadata translations are created on demand: https://gist.github.com/smichaelsen/f5d425b84db7007a512eff0a26247939

  2. Sebastian Michaelsen changed subject File Metadata should be editable also when translation doesn't exist yet File Metadata are not editable when translation doesn't exist yet <span data-processor="relativetime" data-value="2021-02-08T14:19:52+00:00" > 02/08/21, 14:19 </span>

  3. Riccardo De Contardi commented and changed attached Screenshot 2026-02-07 alle 17.41.53.png <span data-processor="relativetime" data-value="2026-02-07T16:51:57+00:00" > 02/07/26, 16:51 </span>

    Still reproducible on latest main 14.2.0-dev, I think.

    These are the steps I followed

    Prerequisites:

    a. TYPO3 installation with at least two languages, for example ITALIAN (default) and ENGLISH (id=1)
    b. At least two pages: PAGE A in default language, and PAGE B with two languages
    c. upload an image using Media module

    1. Go to PAGE A
    2. Create a “text and images” content element inside the page
    3. Add the reference to the image uploaded at point a
    4. Save the CE

    Results

    - after saving the element, the interface shows the icon to edit the metadata of the file – see attached screenshot

    5. Go to Page B
    6. switch to the version in the secondary language (translated)
    7. Create a “text and images” content element inside the page
    8. Add the reference to the image uploaded at point a

    Results

    - after saving the element, the interface does nto show the icon to edit the metatata of the file
    - Albeit you can still do that by clicking on the “info” button and then, in the modal window, and then “Edit metadata of this file”