Issue Bug New Orphaned

#105948Extbase: Translations ignore hidden state for 1:n relations, when relation is set to l10n_mode => exclude

Manfred Egger 01/16/25, 11:23 updated 01/16/25, 12:12

Description

As the title says: if you have a domain model “A”, which has a 1:n relation to another domain model “B” then the hidden state of the relation elements “B” is ignored in translated elements “A”. So on translated pages all relation elements are shown, on the same pages in the main language only the elements with hidden=0 are shown.

Users can work around this by also setting the hidden state in the translated record. For relations with 'l10n_mode' => 'exclude' this is not possible, as the relations are only managed in the main language record and the hidden field never gets updated in the database.

Reviews 0

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

Fix this issue

Start the commit message of your patch with this. Add what the patch does, and the versions it goes to in "Releases:". How to create a patch

Commit message
[BUGFIX] Extbase: Translations ignore hidden state for 1:n relations, when relation is set to l10n_mode => exclude Resolves: #105948 Releases: main