Bug #91900

Editor with language restriction to non-default language can't edit records of tables with inline fields configured with l10n_mode => exclude

Added by Tobias Doll about 1 year ago. Updated about 1 month ago.

Should have
Target version:
Start date:
Due date:
% Done:


Estimated time:
TYPO3 Version:
PHP Version:
Is Regression:
Sprint Focus:


In one of our projects we have a table for locations. This table has a file relation field for images, which is configured with 'l10n_mode' => 'exclude'.

The default language is German. There is a folder in the page tree, which contains only russian locations (they aren't translations of a german record, but created directly in russian).

When an editor, who is restricted to only the russian language, tries to edit those records, he gets an error: "Sorry, you didn't have proper permissions to perform this change. ERROR: Language was not allowed.".

This likely happens, because the file relation in sys_file_reference is created with sys_language_uid = 0 when l10n_mode is set to exclude, resulting in an error, because the editor can't access the default language.

I tested this in the most recent versions of TYPO3 8, 9 and 10. They all behave identically.

Related issues

Related to TYPO3 Core - Bug #84119: Limiting a BE-User to default language results in inconsistent saves.Under Review2018-03-02


Updated by Kevin Ditscheid about 1 year ago

  • Related to Bug #84119: Limiting a BE-User to default language results in inconsistent saves. added

Updated by Ingo Fabbri 8 months ago

Facing a similar issue. Doe you already get "ERROR: Language was not allowed" on opening the record - or on save only?


Updated by Riccardo De Contardi about 1 month ago

  • Category set to Localization

Also available in: Atom PDF