Actions
Bug #97850
openWrong sys_language_uid in sys_file_reference after copy and paste
Status:
Needs Feedback
Priority:
Should have
Assignee:
-
Category:
File Abstraction Layer (FAL)
Target version:
-
Start date:
2022-07-04
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
11
PHP Version:
7.4
Tags:
sys_file_reference
Complexity:
Is Regression:
Sprint Focus:
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
Actions