Closed (outdated)
Project:
Drupal core
Version:
7.x-dev
Component:
block.module
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
27 Apr 2012 at 05:36 UTC
Updated:
22 Oct 2013 at 07:54 UTC
Jump to comment: Most recent
Comments
Comment #1
webchickCross-linking #1550044: Remove aggregator blocks from admin/structure/block
And major because it's an edge case, but there's a data loss component to it. Literally, all of your block associations disappear.
Comment #2
webchickTagging once more.
Comment #3
webchickTagging once more.
Comment #4
catchWhat's wrong with http://api.drupal.org/api/drupal/modules%21block%21block.api.php/functio... ?
Comment #5
webchickCATCH! YOU ARE MY FAVOURITE PERSON EVER!
I'm going to go try this.
Comment #6
webchickOops. Nope. We need to do something else. The list of modules at admin/structure/block, which right now looks like this:
Comment #7
webchickOh but you're still up there on my favourite people nonetheless. ;)
Comment #8
drummSolved a different way for Drupal.org.
Comment #9
webchickComment #10
catchThere's also hook_module_implements_alter(), would be good to know what the Drupal.org workaround was.
Comment #11
webchickOh, sorry. The workaround was in #1550044: Remove aggregator blocks from admin/structure/block.
In D7 we added a threshold setting to Aggregator module for the # of entries to include in a block, and when that number is set to 0, the block doesn't appear. Kind of stupid, but it works. :)
Comment #12
guypaddock commentedStill major, still data loss...
Comment #13
chx commentedI quite disagree with this being major. It was only bumped cos d.o. needed it but that could be solved otherwise.
Comment #14
benjy commentedhook_block_info_alter() has been removed from D8 so putting back to 7.x
Comment #15
ParisLiakos commentedit *is* major, not to say critical..remove block keys from the array and *boom* Good luck rebuilding your blocks...and if your site heavily depends on them. well you are screwed. because you cant really remember the exact weight and visibility settings for every single one of them.
Comment #16
ParisLiakos commentedComment #16.0
ParisLiakos commentedUpdated issue summary.