- 🇺🇸United States smustgrave
Tried replicating following the steps in the IS on 10.2 but wasn't able to trigger the error.
Just to confirm
Created a link in the Admin menu
Title is My test
Link is https://www.google.com/
Toolbar is vertical
Click save
Go horizontal no issueCreate another link
Toolbar is horizontal
Click save
Go vertical no issue. - 🇮🇳India omkar.podey
What I think is that the steps are incomplete. As @smustgrave i got a similar result initially with the structure being
But after i changed the structure in
/admin/structure/menu/manage/admin
for my test menu link(random link title) to be underAdministration
manually.
It did break the child links in the vertical toolbar.
I think this was the intended bug to be solved, right?
- Status changed to Needs work
over 1 year ago 7:25am 7 August 2023 - @godotislate opened merge request.
@omkar.podey: Yes, that's the issue. Thank you for the correction in the steps. It's been a couple years, and I'm off that project, but we saw the issue surface when we put a link to our pattern library in the admin menu for convenience, and QA caught that the menu broke in the vertical configuration.
Created an MR against 11.x-dev after tweaking the original patch to address feedback from #12 🐛 Javascript error when Toolbar is vertical and admin menu has unrouted links Needs work . Not sure how to write a better test. The Javascript for the toolbar is more complicated than I can write a test for. It doesn't look like the original test captures the issue correctly anymore either. I've left the PR at draft to make the fix available against 11.x-dev for anyone who needs it. I'm willing to revisit the tests if anyone can provide some guidance on how to write them.
- 🇺🇸United States esod
Reroll for Drupal 10.2.7. I don't have time to look at the test right now.