i had a node type assigned as a nodeprofile type.. and i guess at somepoint added this into nodefamily (??)

- i deleted the cck type and then saw it listed as a child type under nodefamily settings (with parent as usernode) ; but since it was deleted their was not a name for it under child - i simply knew it was for the old cck type since the url for the delete link said it was.

- when i try to delete i get :

You may not delete this relation manually. To remove it unmark the content type "Member" as nodeprofile.

if i go back and create dummy cck type with same name.. i see it has nodefamily already selected under type config... unselecting that and going back to nodefamily it now shows up and i could now delete it and then go back to delete the cck type again.

CommentFileSizeAuthor
#4 nodeprofile_cleanup.patch915 bytesjpetso

Comments

fago’s picture

Title: can't delete relation when cck field deleted » nodeprofile doesn't clear the usernode-relation if the content-type is deleted
Project: Node Family » Node Profile

-> nodeprofile doesn't clear the usernode-relation if the content-type is deleted

fago’s picture

Status: Active » Closed (won't fix)

that's already fixed in 5.x.
for 4.7.x it will not be fixed, as it would require an extra solution for CCK.

fago’s picture

Title: nodeprofile doesn't clear the usernode-relation if the content-type is deleted » nodeprofile doesn't clear the usernode-relation if the module is uninstalled
Version: 4.7.x-1.x-dev » 5.x-1.x-dev
Priority: Normal » Minor
Status: Closed (won't fix) » Active

I just realized that I am wrong - this isn't fixed in 5.x yet.

However, I think nodefamily should clear any relations of a type, if it is deleted. But nodeprofile should clear the relation on module uninstall.

jpetso’s picture

StatusFileSize
new915 bytes

Here's the patch to delete all usernode->nodeprofile relations on uninstalling the nodeprofile module.

jpetso’s picture

Status: Active » Needs review

Er, update the issue status.

fago’s picture

Status: Needs review » Fixed

thanks,committed

Anonymous’s picture

Status: Fixed » Closed (fixed)