Changing the machine name of a content type makes you loss the block region that is attached to a view mode.

CommentFileSizeAuthor
#3 1603146-3.patch485 bytesswentel

Comments

gopherspidey’s picture

ok I reacted to soon. I found the emergency page and removed to the block entry. Is there a hook that is called when a content type is renamed?

swentel’s picture

There's already an implementation in ds, see ds_node_type_update() and _ds_entity_type_update(). We should be able to fix this there.

swentel’s picture

Status: Active » Fixed
StatusFileSize
new485 bytes

So yeah, the emergency page is a way to remove those block regions.

Updated the submit button as it has a confusing label. In case someone wants to write a patch, go ahead, for now, closing this.

swentel’s picture

Status: Fixed » Closed (fixed)

Also committed to 8.x-2.x