Project

General

Profile

Actions

Bug #99672

open

Localisation: Overwriting not possible

Added by Kevin Appelt almost 2 years ago. Updated 6 months ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
Localization
Target version:
Start date:
2023-01-23
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
11
PHP Version:
8.1
Tags:
Complexity:
Is Regression:
Sprint Focus:
Stabilization Sprint

Description

I have defined a field "Media" in the TCA (removed the overrideChildTca part to make it more readable).

        'media' => [
            'exclude' => true,
            'label' => 'Media',
            'l10n_mode' => 'exclude',
            'l10n_display' => 'defaultAsReadonly',
            'config' => ExtensionManagementUtility::getFileFieldTCAConfig(
                'media',
                [
                    'maxitems' => 20,
                    'behaviour' => [
                        'allowLanguageSynchronization' => true,
                    ],
                ],
                $GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext']
            ),
        ],

If I add files in the default language to this field, everything works as expected and I also see the files in the translations.

If I then change the "Translation behavior" from "Value of default language" to "Custom value" in a translation in the backend, however, nothing changes in the form. Even saving the record does not change anything.

I would expect to be able to override the value with the setting. With other fields (e.g. nav_hide in pages) the form already changes when the setting is changed (without having to save).

The browser console does not show any errors in Chrome.
The limit of "maxItems" has not been reached!

Actions #1

Updated by Benni Mack over 1 year ago

  • Sprint Focus set to Stabilization Sprint
Actions #2

Updated by Riccardo De Contardi 6 months ago

  • Category set to Localization
Actions

Also available in: Atom PDF