92456[BUGFIX] Limit language selector to existing page translations
Commit message
Review
-
Code review CR +2 Done
- Benjamin Kott +2
- Anja Leichsenring +1
- Stefan Bürk +1
-
Verified V +2 Done
- Benjamin Kott +2
- Anja Leichsenring +1
- Stefan Bürk +1
- core-ci +1 CI
Issues 1
Files 3
Review log 2027
Show 12 earlier messages
-
Benni Mack uploaded patch set 1 01/22/26, 09:54
-
core-ci voted on patch set 1 V -1 01/22/26, 10:08 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/94026
-
Benni Mack uploaded patch set 2
V -101/23/26, 20:36 -
Benni Mack marked it ready for review 01/23/26, 20:43
-
core-ci voted on patch set 2 V +1 01/23/26, 20:44 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/94209
-
Oli Bartsch commented on patch set 2 V -1 01/23/26, 22:03
Patch works but I fear we can not globally restrict this tca type. It is not bound to the "languageField" of a table but can be used freely for everything. From the docs: > This field type displays all languages available in the current site context. Outside of the site context it displays all languages available in the installation. and > This TCA type automatically displays all available languages for the current context (the corresponding site configuration) and also automatically adds the special -1 language (meaning all languages) for all record types, except pages. This would be a breaking change. -
Benni Mack commented on patch set 2 01/24/26, 08:41
Reply
AFAIK it's a bug, my editors switch the language of a tt_content record to e.g. "macedonian" (where there is no page translation on the current page) and the record is completely gone from the user interface. -
Oli Bartsch commented on patch set 2 01/24/26, 09:25
Reply
Sure, it's a bug in this scenario, but we can not limit the tca type generally. We should add this fix by first checking if the field is used as the languageField of the table. -
Benni Mack uploaded patch set 3
V +102/12/26, 09:57 -
core-ci voted on patch set 3 V +1 02/12/26, 10:32 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/95699
-
Benni Mack commented on patch set 3 02/12/26, 16:43
Reply
done -
Anja Leichsenring commented on patch set 3 02/12/26, 19:47
now the commit message needs to mention the limitation to the languageField of a table. I leave that to you, Benni. -
Anja Leichsenring voted on patch set 3 V +1 02/12/26, 19:48
-
Benni Mack rebased onto patch set 4
V +102/24/26, 09:27 -
Benni Mack updated the commit message in patch set 5 02/24/26, 09:28
-
core-ci voted on patch set 4 V -1 02/24/26, 10:07 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/96689
-
core-ci voted on patch set 5 V -1 02/24/26, 10:10 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/96690
-
Benjamin Kott uploaded patch set 6
V -103/11/26, 10:44remove null site filter from condition -
core-ci voted on patch set 6 V -1 03/11/26, 10:55 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/97747
-
Benjamin Kott uploaded patch set 7
V -103/11/26, 12:51 -
core-ci voted on patch set 7 V +1 03/11/26, 13:02 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/97760
-
Anja Leichsenring voted on patch set 7 CR +1 V +1 03/11/26, 19:40
-
Benjamin Kott voted on patch set 7 CR +1 V +1 03/12/26, 08:33
-
Stefan Bürk voted on patch set 7 CR +1 03/12/26, 12:44
-
Stefan Bürk voted on patch set 7 V +1 03/12/26, 12:52
-
Benjamin Kott voted on patch set 7 CR +2 V +2 03/13/26, 12:28
-
Benjamin Kott merged patch set 8 03/13/26, 12:28