Deleted menus are not removed from content type config

Created on 31 January 2023, over 1 year ago
Updated 23 February 2023, over 1 year ago

Problem/Motivation

If you create a menu, enable it on a content type, then remove it, the menu is not removed from the content type's config.

Steps to reproduce

  1. Install Drupal
  2. Create a new menu
  3. Edit the basic page content type and add the new menu as available
  4. Delete the menu
  5. View the content type config yml (via config export)
  6. Deleted menu is not removed from yml file

Proposed resolution

Ensure the menu is removed from config when it is deleted.

Remaining tasks

  • Write a patch with tests
  • Review

User interface changes

N/A

API changes

N/A

Data model changes

N/A

Release notes snippet

N/A

πŸ› Bug report
Status

Needs work

Version

10.1 ✨

Component
Menu moduleΒ  β†’

Last updated about 2 months ago

Created by

πŸ‡¦πŸ‡ΊAustralia pameeela

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024