Postponed (maintainer needs more info)
Project:
Menu Access
Version:
6.x-1.9
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
6 May 2011 at 18:04 UTC
Updated:
6 Jun 2011 at 20:24 UTC
I use context to assign blocks on my site instead of using the core block admin. Upon updating to 1.9 my menu-access controlled menus disappeared, and it was because they were removed from my context. Not sure if the same would happen when using the block admin.
Suggest maybe mentioning this possibility for folks doing the security upgrade?
Thanks!
Comments
Comment #1
emptyvoid commentedThanks for making a new I would assume it is because in previous releases I hard coded the Unique machine name for each menu block. Now the module dynamically creates "menu access - menu name" blocks based on the menus you have created in the system.
Were you able to reassign the new blocks to your context displays?
Comment #2
tbenice commentedyes i was, but if i were a newbie i'd have been stumped.
Comment #3
taps7734 commentedI am having a similar issue. It seems the "Menu Access - Navigation" block randomly disappears.
Comment #4
emptyvoid commentedWell, I added code to the 1.9 release to dynamically define the blocks based on the menus that exist in the site. Prior to V1.9 only 3 menus were available and it was hard-coded. Now the module dynamically buildings a list of blocks. Perhaps this is causing memory issues on every page load and some modules can't target the in-realtime block definitions. (hmm)
Perhaps a caching layer could be added for the block definitions, but then I'd have to add business logic to routinely rebuild, clear the cached definitions.
I'll need to think about this problem in more detail.
Comment #5
emptyvoid commentedAlso did this happen on update or does it happen often. I would guess that on update the unique identifier for the blocks you were using got changed to the new dynamic machine name for the block, and that resulted in your context definition braking. Once you assigned the "new" block definitions did you occur again?