Review main Merged

72971[BUGFIX] Calculate action menu generation earlier in PageLayoutController

Oli Bartsch CR +2 V +2 Easy +4 −4 updated 01/11/22, 20:42

Commit message

With #95387 the menu generation of the page module
was moved to the end of the request handling method.

However, the `makeActionMenu()` method does currently
not only create the menu but does also make some sanity
check, whether the currently selected `function` is actually
available.

If not, the `function` is reset to the default ("columns mode").
This e.g. happens when in languages mode and then switching
to another domain / another site, which is single language only.
This then led to the user being unable to work in "columns mode",
since no action menu is generated for such sites.

This is now fixed by executing the mentioned method before the
content gets generated.

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