I tried this module and it seems to be working nicely but I have problem that for some reason after enabling and setting up this module my menus aren't rendered completely. To be more specific it doesn't render whole menu tree so menu dropdowns are broken.

After little module research I found the problem menu_manipulator_get_multilingual_menu where menu load parameters using $menu_tree->getCurrentRouteMenuTreeParameters($menu_name); that limit the depth.

Is there any reason for this? I would expect to load whole tree by default (with enabled items of course).

CommentFileSizeAuthor
#2 0001-load-whole-menu.patch900 bytesmarysmech
Command icon 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

marysmech created an issue. See original summary.

marysmech’s picture

StatusFileSize
new900 bytes

Attaching patch if enybody needs to load whole menu tree.

pawlus’s picture

Priority: Normal » Major

Thank you, marysmech, without this patch the module breaks core "Expand all menu items" functionality in menu blocks. I'd say this is pretty major issue.

matthieuscarset made their first commit to this issue’s fork.

vood002’s picture

I also experienced this issue, i agree it's major, suddenly menu blocks will not render as anticipated. The patch worked perfectly thank you.

matthieuscarset’s picture

Status: Active » Needs review

Thank you for this issue and for testing it.

I have committed a change to try not to loose information because of the preprocess function.

Could you please try again with latest version at 2.0.x?

matthieuscarset’s picture

Status: Needs review » Fixed

Closing issue to clean the list.

Feel free to reopen it if you can reproduce the issue with the latest release 3.0.0.

matthieuscarset’s picture

Status: Fixed » Closed (fixed)