Using "[node:menu-link:parent:url:path]" results in fatal error when creating anchor links in the menu

Created on 23 August 2022, over 2 years ago
Updated 31 May 2023, over 1 year ago

I have setup a page CT with an automatic path alias: [node:menu-link:parent:url:path] (based on the D9 standard install profile + pathauto)
I create 1 page "Test", put it into the main menu as the only page, and it receives the automatic alias: "/test".

I then navigate to the main menu and manually add an anchor link to this page. (/admin/structure/menu/manage/main/add)
Menu link title: Test anchor link
Link: /node/1#anchor
Hit "Save".

Move this anchor link to a child of the main "Test" page.

Create another anchor link:
Menu link title: Test anchor link 2
Link: /node/1#anchor2
Hit "Save".

This eventually errors out on a mysql lock error (on the menu_link_content table) and the anchor link was not added.

If I disable the "menu_trail_by_path" module it works fine.

🐛 Bug report
Status

Active

Version

2.0

Component

Code

Created by

🇧🇪Belgium weseze

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

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