Review main Merged

81955[TASK] Throw exception if `frontend.typoscript` is not available

Stefan Bürk CR +2 V +2 Easy +9 −2 updated 11/27/23, 11:56

Commit message

Extension authors tend to use extbase way out of the
feel well habitat, for example using extbase in PSR-7
middlewares before the required frontend context stack
is there.

Avoiding a fatal php error has been mitigated with #102457
but still leaves the extension in the delusion of a working
context.

This change checks if the `frontent.typoscript` is not set
in the request and throwing a speaking runtime exception.

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