Review 13.4 Merged

87930[BUGFIX] Prevent CSP module showing link when EXT:lowlevel is missing

Garvin Hicking CR +2 V +2 Easy +22 −11 updated 01/29/25, 22:15

Commit message

With #105692 a cross-reference link was added that guides people
to the "Configuration" backend module section for the CSP
configuration.

The used route "system_config" however is set via EXT:lowlevel,
which is not necessarily installed when the CSP backend module
is used.

Unfortunately, using a `<f:be.link>` with a missing route
throws an exception `RouteNotFoundException` that will
crash a whole backend module. This might be the proper
behavior for many cases, to prevent non-working links
in links used for JavaScript or form actions.

This patch checks for existence of EXT:lowlevel and
changes the intro text accordingly to hint at the
missing extension.

Review

  • Code review CR +2 Done
    • Garvin Hicking +2
  • Verified V +2 Done
    • Garvin Hicking +2
    • core-ci +1 CI

Issues 2

Files 3

Review log 34

  1. Garvin Hicking commented on patch set 1 01/29/25, 21:21

    Cherry Picked from branch main.
  2. core-ci voted on patch set 1 V +1 01/29/25, 21:27 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/73156

  3. Garvin Hicking voted on patch set 1 CR +2 V +2 01/29/25, 22:15

  4. Garvin Hicking merged patch set 2 01/29/25, 22:15