Avoid incorrect and unecessary menu_link_content entity saving

Created on 8 March 2025, about 1 month ago

Problem/Motivation

See 📌 MenuTreeStorage shouldn't invalidate cache tags if the menu didn't change Active and 🐛 Disallow saving the current default revision as a non-default revision Active There is code copied from menu_ui and also additional extra savings that will break those performance optimizations and for the second issue, likely result in fatal errors.

Should extend \Drupal\Tests\menu_ui\Functional\MenuUiNodeTest and \Drupal\Tests\menu_ui\Functional\MenuUiContentModerationTest and run them with token.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

📌 Task
Status

Active

Version

1.0

Component

Code

Created by

🇨🇭Switzerland berdir Switzerland

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024