Problem/Motivation
In the related issue a link is created in code, but it forgets to pass the route_parameters. So everything works fine for routes without parameters, but when route_parameters are needed, there are errors about missing required parameters (for example, a menu-link to the entity.node.canonical route)
Proposed resolution
Also pass the route_parameters in getUrlObject
Issue fork menu_item_extras-3548102
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
spadxiii commentedAdded my fix in the merge request