- 🇫🇮Finland thatguy
I had this issue too and realised that it was caused by some extra route parameters coming from the Taxonomy menu. Here is a patch that includes removing the non-default route parameters, code copied from https://www.drupal.org/project/drupal/issues/3359511 🐛 [regression] missing menu active trail in Drupal 9.5.9 Needs work .
- Status changed to Needs review
over 1 year ago 12:24pm 20 September 2023 - last update
over 1 year ago 9 pass - 🇩🇪Germany mspae
I had the same problem with a view page.
#4 fixed the issue.
The patch is working when there is a main item a parent and a child like home - test - testchild, but I am having issues when there is just one parent menu item like home-test. In this case when I am on the test page the trial is not working which was working fine in the previous version.
- 🇩🇪Germany markdc Hamburg
Thank you for the patch. Working for me at all levels. No issues.
- Status changed to Needs work
about 1 year ago 9:28pm 29 November 2023 - 🇨🇭Switzerland berdir Switzerland
The code in the core issue seems to be quite different now, we should also have the constructor BC for the optional parameter, if only do not cause problems on sites during an update, I'm OK with not having a @trigger_error() as deprecation messages in contrib are always tricky.