Here's the issue in the menu block queue: #2499733: Error when upgrading to 7.x-2.6
Notice: Undefined index: depth_relative in menu_tree_block_data() (line 360 of menu_block.module).
The 7.x-2.6 version added relative depth to menu block configuration which is great. However, if someone has existing sites with many menu blocks configured (at least using panels), $config['depth_relative'] will not exist in the configuration for any of them until each and every panel pane/block is re-saved. And all of them will throw errors.
That places quite a burden on folks attempting to upgrade large numbers of sites.
Would it be possible to get this patch into the next release of Panopoly?
Comment | File | Size | Author |
---|---|---|---|
#3 | panopoly_widgets-menu-block-2.7-2514518-3.patch | 393 bytes | dsnopek |
Comments
Comment #1
dsnopekPossible, yes! Can you make a patch against panopoly_widgets which adds that patch to the panopoly_widgets.make file? Then I'll run some automated tests on it. If all looks good, I'll commit. :-)
Comment #2
dsnopekThat patch was merged into menu_block and included in the 2.7 release. So, I'm repurposing this issue to be about updating to menu_block 2.7
Comment #3
dsnopekHere's a patch! I'll run it on Travis-CI in a moment.
EDIT: Here's the build on Travis: https://travis-ci.org/panopoly/panopoly/builds/69169835
Comment #5
dsnopekI'm going to trust the tests (which passed) and @Andrew Edwards manual testing of this patch and ... commit! :-)