Steps to reproduce:

  1. Enable Context 3.0
  2. Create a new menu (this does not happen with primary/secondary links)
  3. Create a node menu item beloging to the newly created menu
  4. Enable the corresponding [i18n] block in a visible region
  5. Create a new context having a condition on the menu item just created
  6. Visit the menu item with a language different from the one it was created in

Expected behavior: the menu item is shown translated.
Actual behavior: the menu item disappears.

CommentFileSizeAuthor
#1 i18nmenu_node-1151548-1.patch801 bytesplach

Comments

plach’s picture

Status: Active » Needs review
StatusFileSize
new801 bytes

The attached patch should fix the issue.

plach’s picture

+++ b/plugins/i18nmenu_node_context_condition.inc
@@ -9,6 +9,9 @@ class i18nmenu_node_context_condition extends context_condition_menu {
+    // Getting the current active trail may trigger a menu tree rendering. ¶

Trailing whitespace.

Powered by Dreditor.

plach’s picture

Status: Needs review » Fixed

Committed to HEAD.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.