Review main Merged Breaking

65044[!!!][BUGFIX] Set up language in FE before TypoScript is evaluated

Benni Mack CR +2 V +2 Normal +59 −7 updated 08/10/20, 13:12

Commit message

This change moves the language evaluation of a page record much earlier
in the frontend process.

Before:
* Resolve the page (determineId) based on permissions, visibility etc.
* get TypoScript from Cache
* Find a translation of the page and determine the content language

Now:
* Resolve the page based on permissions, visibility etc
* Find the translation of the page
* Get TypoScript from Cache

This is a breaking change, as the hooks within settingLanguage() are now
called at a different time of the processing logic for a frontend request,
however it solves an issue that you can now use localized values for
TypoScript conditions.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 4