Review 10.4 Merged

71120[BUGFIX] Avoid TSFE injection into standalone ContentObjectRenderer

Benjamin Franzke CR +2 V +2 Easy +2 −0 updated 09/17/21, 15:29

Commit message

TypoScriptFrontendController might not be available
by the time ContentObjectRenderer instances are created

The constructor argument ContentObjectRenderer is
intended to be used by TypoScriptFrontendController
to inject itself, but not for injecting
TypoScriptFrontendController when ContentObjectRenderer
is created as a standolone instance.

This has already been adapted in the master branch
by #95174 and is therefore backported as a separate
10.4-only fix.

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 3

Files 1