Compatibility with other modules, options being overwritten.

Created on 6 January 2023, almost 2 years ago
Updated 14 May 2024, 8 months ago

Problem/Motivation

The contrib module menu_firstchild or any other module that provides menu link options do not work when menu_link_attributes is enabled. It can't store link options for menu items, as they are overwritten by menu_link_attributes.

Steps to reproduce

  • Enable menu_firstchild or other module that provides menu link options.
  • Enable menu_link_attributes.
  • Create a custom menu item, check the "firstchild" checkbox in the create/edit form.
  • Revisit the form for the menu item: the "firstchild" checkbox has unchecked itself.

Proposed resolution

Merge options with existing link options in menu_link_attributes_menu_link_content_form_entity_builder().

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇩🇪Germany kmetz

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

Merge Requests

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.71.5 2024