Issue #1055460: Disabling a feature does not disown content type provides the functions needed to disable node-based features and allow a user to manually delete the content type once the feature is disabled. Thanks for that!
There is a small naming issue in features.module which keeps Features from calling node_features_disable() and node_features_enable(). The attached patch fixes this so the functions in includes/features.node.inc are called during the enabling and disabling process.
| Comment | File | Size | Author |
|---|---|---|---|
| node-enable-disable-fix.patch | 564 bytes | robeano |
Comments
Comment #1
longwaveSeems this was mistakenly changed in http://drupalcode.org/project/features.git/commitdiff/dc3297e and should be changed back.
Comment #2
hefox commentedThe possibility with conflicts with original hook are huge so rename seems fine (if have node_features, node_features_enable would conflict)
Anyhow could just fix the core bug #1441950: Node types removed from hook_node_info with base = 'node_content' cannot be deleted. Duplicate of reopened #1055460: Disabling a feature does not disable content type