In the .info file if you have a region named region1 and put a block (for example the navigation block) inside it and then change the name of the region from regions[region1] to regions[region 2] the navigation block dissapears from the blocks page and is not reasignable.

I believe it stays in region1 but region1 is nolonger viewable so you can not move it somewhere else. In other words you have to make sure that any region name you are going to change is empty or you will nolonger have access to the blocks that were in that region as they will not be listed as disabled.

I was not expecting any behavior but it would be nice if the block was listed as disabled instead so it could be reasigned.

CommentFileSizeAuthor
#1 block_region_check_a.patch1.97 KBtheborg

Comments

theborg’s picture

Version: 6.0-beta4 » 6.x-dev
StatusFileSize
new1.97 KB

This patch checks if the region key assigned to the block exists in the database, if not:
- The block is disabled.
- The region is set to <none>.
- Informs the user with an error message.

theborg’s picture

Assigned: Unassigned » theborg
Status: Active » Needs review
theborg’s picture

Status: Needs review » Closed (duplicate)
jswaby’s picture

Status: Closed (duplicate) » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.