Closed (fixed)
Project:
Menu Block
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
6 Jan 2011 at 13:01 UTC
Updated:
12 Apr 2011 at 09:55 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
johnalbindifferent manifestation of the same problem: any menu block showing a book menu don't get an active trail either.
Comment #2
johnalbinComment #3
johnalbinThis patch is killing me. :-p
Here's a work-in-progress-god-i'm-tired-going-to-bed patch attempt. In case the elves show up in my cobbler's workshop during the night and magically fix everything.
Comment #4
johnalbinStupid elves.
Comment #5
johnalbin99.5% fixed.
To be 100% fixed on a particular site, do NOT mix menu_block blocks with core menu blocks. Depending on the order that the blocks are built, the core menu block will still hit this bug and then cache the result so that the menu_block will also exhibit the bug. If, on the other hand, you leave out the core menu block, the menu_block block will build correctly using the work-around code I just committed.
http://drupal.org/cvs?commit=478952
I could build a 100% work-around. But based on preliminary work, the code will be super messy and possibly horribly expensive in CPU cycles. :-p Not worth it, IMO.
Comment #7
miklThe commit in question in Git: http://drupalcode.org/project/menu_block.git/commitdiff/fa6f8e0?hp=56222...
Comment #8
ergophobe commentedJust to add to mikl's comment....
This patch and that commit were completely obsoleted with Drupal 7.12, which broke this fix and the file that is added in this patch was removed and a more definitive fix committed related to #1425342: Drupal core upgrade from 7.10 to 7.12 causes menu block to fail
Menu Block 2.3 was released to address this using the patch in the referenced issue, msg #33 https://drupal.org/comment/5549484#comment-5549484