The role visibility settings for blocks are not being included in the features.fe_block_settings.inc file

I have a number of blocks and all of them show the '0" for visibility

example

  $theme['menu-menu-board-menu'] = array(
    'module' => 'menu',
    'delta' => 'menu-board-menu',
    'theme' => 'sky',
    'status' => '1',
    'weight' => '-19',
    'region' => 'left',
    'custom' => '0',
    'throttle' => '0',
    'visibility' => '0',
    'pages' => '',
    'title' => '',
    'cache' => '-1',
  );

Comments

wizonesolutions’s picture

I'll have a look at this. I'm pretty sure that when exporting the block settings that this works, but I will check.

Dean Reilly’s picture

I've ran into this issue with menus as well.

Subscribing.

sionescu’s picture

I have the same issue for Drupal 7.
Subscribing.

derhasi’s picture

I just opened a sandbox repository, that rewrites some parts of fe_block_settings. There I also added a snippet that exports and reverts block_roles settings: http://drupal.org/sandbox/derhasi/1321200

sionescu’s picture

I've created an separate module for building only visibility settings for blocks into features:
this includes role and node type based visibility.

You can check this out at: http://drupal.org/sandbox/sionescu/1323964

sun’s picture

Status: Active » Closed (duplicate)

Thanks for taking the time to report this issue.

However, marking as duplicate of #868828: Capture role visibility settings in fe_block?. You may follow that issue to track its status instead. If any information from this issue is missing in the other issue, please make sure you provide it over there.