Fields don't show on menu items created via default_content

Created on 2 February 2025, 3 months ago

Problem/Motivation

On a site that is generated with an installation profile which has menu items created using Default Content, on the three menu items that are created during installation the extra fields don't show when those menu items are edited, but they do show on the add-link form.

Steps to reproduce

Create a base site using the Standard installation profile.
Add the Menu Item Extras module and add some fields to the Main Navigation menu.
Export the configuration to an installation profile.
Add menu items to the Main Navigation menu, fill in the extra fields.
Use Default Content β†’ to export the menu items.
Reinstall the site using the installation profile.
Edit the menu items that were created.

Expected behavior:
* The "extra" fields will show on the form.
* The "extra" fields will be populated with the values originally added to them.

Actual behavior:
* The "extra" fields are not present on the form.

Proposed resolution

Fix the bug =)

Remaining tasks

Identify the source of the bug.
Fix the bug.
Add test coverage.

User interface changes

n/a

API changes

TBD

Data model changes

TBD

πŸ› Bug report
Status

Active

Version

3.0

Component

Menu item form

Created by

πŸ‡ΊπŸ‡ΈUnited States DamienMcKenna NH, USA

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

Comments & Activities

Production build 0.71.5 2024