Issue Bug Closed

#97850Wrong sys_language_uid in sys_file_reference after copy and paste

Michael Binder 07/04/22, 11:21 updated 01/15/25, 10:41

Description

*Scenario:*
I have a page with 3 languages (0=en, 1=fi, 2=sv).
As an editor with access to all languages, I copy a content element with FAL record from a Swedish page to a Finnish page.

*Expectation:*
The colleague who only has access to the Finnish language can edit this record.

*Reality:*
The Finnish editor is not allowed to edit this record, because we get a mixed record after inserting it. The sys_language_uid in the sys_file_reference table is not adjusted.
The sys_language_uid in tt_content was set to fi (UID=1). However, the sys_language_uid in the sys_file_reference is taken as sv (UID = 2).

*Tested with:*
TYPO3 8.7.45 – 11.5.12
PHP 7.4

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.