Actions
Bug #104140
openConfusing behaviour with file relations in translated records ("Translation behavior" = "Value of default language")
Status:
Accepted
Priority:
Should have
Assignee:
-
Category:
Localization
Target version:
-
Start date:
2024-06-18
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
13
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
Environment¶
- Translated page, field "media"
- No existing file relations in both original language and translation
- In translated page: "Value of default language" selected as "Translation behavior"
The problem¶
When adding a new relation and saving the record, the new relation vanishes. On v11, there seems to be an error message about inserting a record where it is not allowed (reported by an end user).
The problem is not there when setting "Translation behavior" to "Custom value".
Possible solution¶
1. Selecting "Value of default language" should make the field read-only, i.e. hide the buttons for adding new relations, and probably also make the IRRE record r/o.
2. Changing from "custom value" to "value of default language" should reset the custom relations
Additional information¶
- Existing records added with "Custom value" are kept when saving the record with "Value of default language" enabled)
Actions