Problem/Motivation

Same problem as described in the issue for 6.x https://www.drupal.org/node/852440
We should use machine name to make context reaction blocks exportable between environments and prevent intersect by block ids

Proposed resolution

We can easily replace ids with machine_names for blocks during export, and then we should replace them with relevant ids on reverting to get the right blocks in context reaction.

Comments

fortis created an issue. See original summary.

fortis’s picture

Status: Active » Needs review
StatusFileSize
new0 bytes

There is my tiny patch, please review

jalpesh’s picture

your patch is empty.

fortis’s picture

StatusFileSize
new1.72 KB

Thanks, should be fine now

fortis’s picture

Issue summary: View changes
fortis’s picture

Issue summary: View changes
Rafal Lukawiecki’s picture

Issue summary: View changes

Has anyone worked on this patch or resolved this issue in any other way? I would like to be able to export blocks + contexts via Features, but patch #4 has some issues. It shows the feature as overridden even if it has been reverted. Many thanks for any suggestions.