Menu Edit page breaks when deleting Domain connected to Menu Link

Created on 16 February 2023, about 2 years ago

Problem/Motivation

The Menu edit form breaks when removing a Domain that's connected to a Menu item.

Steps to reproduce

  1. Create Domain
  2. Create Menu Link connected to the Domain
  3. Remove the Domain
  4. Go to the Menu edit page

Error

Error: Call to a member function get() on null in domain_menu_access_preprocess_table__menu_overview() (line 82 of modules/contrib/domain_menu_access/domain_menu_access.module).

🐛 Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

🇧🇪Belgium PeterLemmens

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

Comments & Activities

Production build 0.71.5 2024