Review 14.3 Merged

97504[BUGFIX] Make orphaned translated records accessible

Oli Bartsch CR +2 V +2 Hard +650 −15 updated 11/10/26, 10:50

Commit message

Records on a page in a language that has no page translation there,
or that the site does not configure at all, cannot be selected in the
language menu of the Layout and Records modules and were therefore not
reachable from the backend anymore.

PageLanguageInformationService::getOrphanedLanguageIds() now detects
these languages for a page: languages of page translations and of
the records the Records module lists, respecting the current
workspace, the user's table and language permissions and the
mod.web_list settings hiding tables or translations. It is only
called by the Layout and Records modules, so other modules building a
page context do not pay for the queries.

Both modules show a flash message naming the site languages the page
has not been translated into, plus a general note for languages the
site does not configure. The Layout module shows it only to users with
access to the Records module, suggests translating the page and points
to the Records module, which lists the affected records of the current
page regardless of the language selection, highlights their rows and
marks the language column, so editors can review and clean up the data.

Review

  • Code review CR +2 Done
    • Oli Bartsch +2
  • Verified V +2 Done
    • Oli Bartsch +2
    • core-ci +1 CI

Issues 1

Files 10

Review log 46

  1. Oli Bartsch commented on patch set 1 11/10/26, 10:15

    Cherry Picked from branch main.
  2. core-ci voted on patch set 1 V -1 11/10/26, 10:21 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/113870

  3. Oli Bartsch uploaded patch set 2 V -1 11/10/26, 10:37

  4. core-ci voted on patch set 2 V +1 11/10/26, 10:49 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/113876

  5. Oli Bartsch voted on patch set 2 CR +2 V +2 11/10/26, 10:49

  6. Oli Bartsch merged patch set 3 11/10/26, 10:50