Hi,

Finally upgraded to OG_blueprints. Awesome!

Just tried to delete an OG group.
Saw new choices inserted by blueprints.


Remove the associated bundle, but retain the bundle version history. Since you are deleting this node type, the only use case is if you intend to create a new group node type to replace this one, and you want the new group node type to inherit the bundle version history from the old group node type. (Note that the UI facilitating this has not yet been implemented.)

Purge all data on the associated bundle from the database. Purging means removing all trace of the bundle from the database (i.e., deleting the entire version history). Consequently, you should select this option ONLY if you have no further need for that data.

I found the reference to deleting "node type" confusing. I assumed that it refered to "content type" but I am not deleting a content type. I am deleting a unique node that is defined/patterned from a particular content type.

However, this is even more confusing. It says that "Since you are deleting this node type, the only use case is if you intend to create a new group node type to replace this one..." My usecase is that I want to make a new group node. not a new group node type.

I don't understand why deleting a group (rather than a group content type) should have anything at all to do with OG Blueprints. If I delete a group, I would expect that I could use the same blueprint to make another similar one if I chose. I believe this is how OG Collections worked.

Is it possible that this complex choice involved in preserving or deleting bundles or purging the database relates to the deletion of a group content "type" that OG Blueprints is intending to serve with specific bundle? If so, it seems that this delete warning and functionality should be shown if I delete a group content type rather than if I delete a unique group?

Am I making sense?
Am I misunderstanding something important in the function of OG Blueprints?
Is this a bug, a lack of clarity, or a feature I don't understand?

What do I have to do to correctly delete my OG group without affecting anything in OG_Blueprints (because I really do want to use the same bundle (and release) to create a new group?

Thanks

Comments

jackspiv’s picture

Sorry,

Above was intended to be highlighted as:

Remove the associated bundle, but retain the bundle version history. Since you are deleting this node type, the only use case is if you intend to create a new group node type to replace this one, and you want the new group node type to inherit the bundle version history from the old group node type. (Note that the UI facilitating this has not yet been implemented.)

Purge all data on the associated bundle from the database. Purging means removing all trace of the bundle from the database (i.e., deleting the entire version history). Consequently, you should select this option ONLY if you have no further need for that data.
sdboyer’s picture

That's...definitely a bug. That message should definitely only be coming up when a group type is deleted or switched off of being a group type, NOT when trying to delete an individual group node. So, definitely a problem in the code...I must've screwed something up in the implementation of nodeapi. Weird, though, I'd swear that stuff was only in the node types hook.

If you're willing to experiment by backing up your database then going through with deleting the group, seeing if blueprints goes bonkers, then reporting back here, I'd appreciate it.

stephanieg101’s picture

Hi, I'm currently testing OG_Blueprints for use on my site, and I did delete an individual group node and got the two options jackspiv mentioned above. I left the default option checked:

Remove the associated bundle, but retain the bundle version history. Since you are deleting this node type, the only use case is if you intend to create a new group node type to replace this one, and you want the new group node type to inherit the bundle version history from the old group node type. (Note that the UI facilitating this has not yet been implemented.

and when I deleted the node, the bundle got deleted as well. I am using the "One Bundle Per Group Type" operating mode, and while the Master blueprints remained, all the blueprints for my group node content type were deleted, and I couldn't see a way to restore them.

I'm looking forward to using this terrific module in the near future if this bug gets worked out. Thanks for your work on it.

stephanieg101’s picture

Ah hah, I think this patch is the fix.

http://drupal.org/node/347414

jackspiv’s picture

Stephanieg101,

Thanks so much for this.
I hadn't gotten to try out the backup/delete and was just about to get back to it.

Looks like sdboyer's back on it now over in #347414: Misplaced functionality on group node delete

maybe we will get a confirmation from him as well...

sdboyer’s picture

Status: Active » Closed (duplicate)

Fixed in the other issue.