Review 12.4 Merged

82788[BUGFIX] Add fake TS setup in admin panel for fluid

Christian Kuhn CR +2 V +2 Easy +26 −1 updated 02/05/24, 11:17

Commit message

With #100759, f:translate has been changed to use the
extbase LocalizationUtility in all scopes. This
triggers the ConfigurationManager, which fetches
TypoScript setup from the Request attribute.

But TS setup is never set in fully cached page content
scenarios and there is usually no Fluid view triggered
in this scope.

The admin panel however renders in "fully cached" as
well, which then fails when trying to fetch TS setup.

We *do* want extbase to fail in this scenario, since
TS is important for extbase configuration and it needs
to rely on TS setup being set in Frontend.

The patch thus works around the issue in admin panel
directly. The situation should resolve later again,
when work on LocalizationUtility finished.

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 2

Files 1