Review main Merged

78007[TASK] Mitigate extbase crash in non TS context

Christian Kuhn CR +2 V +2 Normal +55 −1 updated 04/15/23, 18:49

Commit message

People tend to run extbase in context it is not
designed to be run in. TYPO3 v11 and before
has been forgiving in such cases and falls back
to a broken (empty) TypoScript configution.

TYPO3 v12 is more picky in this regard, and throws
an exception. With current TYPO3 v12 frontend
bootstrap, extension developers are a bit limited
in their options to solve this.

The patch adds a hack to extbase bootstrap code
to be as forgiving as TYPO3 v11 has been. However,
the case is logged as deprecated, and a comment
is added to explain the scenario and options.

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