MenuLinkConfigForm no longer have $accessManager, $pathAliasManager

Created on 20 December 2019, over 4 years ago
Updated 14 February 2023, over 1 year ago

I've just recently updated my site (to 8.8.x), and went back to change a menu link. The menu link page now gives me errors on submit. MenuLinkConfigForm's $this->accessManager and $this->pathAliasManager are not defined.

Apparently, MenuLinkConfigForm makes reference to both to $this->accessManager and $this->pathAliasManager and attempts to set them during construction, but the class doesn't have access to these variables.

If I add the following two lines to MenuLinkConfigForm, setting Menu Links works as expected:

  protected $accessManager;
  protected $pathAliasManager;

Were these previously inherited from another class? I'm wondering if something has been recently deprecated and removed from Drupal Core.

πŸ› Bug report
Status

Needs review

Version

1.0

Component

Code

Created by

πŸ‡¨πŸ‡¦Canada TrevorBradley

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024