If the comments are to believed, the call to drupal_static_reset('context_reaction_block_list'); is needed for overlay form submissions. If we're not dealing with one, no need to clear the cache.

This seems to trigger the behavior described in #1172280: Fusion themes render blocks twice where the Fusion theme ends up triggering all blocks to be built twice because by the time its second call to block_list() comes around the cache has been wiped.

Patch forthcoming.

CommentFileSizeAuthor
#1 2179559-context_reaction_block_list.patch537 bytesgcassie
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

gcassie’s picture

gcassie’s picture

Status: Active » Needs review