Hello,

Is it normal that deleting all revisions of a node delete the current too?

So the node is deleted too...

Delete all revisions should delete only the previous revisions.

Maybe you don't agree with me... maybe I miss something...

Comments

rdeboer’s picture

Category: bug » feature

Well Delete all revisions is indeed intended to mean all revisions and that includes the current.... In other words the entire node, yes.

Is this a feature request for a Delete all revisions but the current button/link?

junro’s picture

In fact I don't really know... maybe It doesn't matter, it's about storage. I don't care to archive revisions.
If a revision is published, that's mean the published content is ok. Old revisions should be erase. I think this is it the feature request.

But I'm just testing your module since a few days, so i'm not an expert on this module. Maybe I should keep revisions archived. But with a very big website with thousand nodes and so thousand revisions, should we keep revisions archived?
Like I said If a revision is published, that's mean the published content is ok.

rdeboer’s picture

Some companies require a full "audit trail" of everything that ever happened to a document/post: who changed what when? Such companies and/or Wiki's would never delete any revisions -- not even the ones that were never published. Revisioning even has a special option for that: create a new revision EVERY time the document is saved.

Having mentioned that maybe there is something to be said for a "lean" version of Revisioning whereby everything older than the current revision is deleted and only the current and pending revision(s) are kept...
Interesting thought....

junro’s picture

Title: Delete all revisions sould not delete the current one. » Delete revisions older than the current revision.

Some companies require a full "audit trail" of everything that ever happened to a document/post: who changed what when? Such companies and/or Wiki's would never delete any revisions -- not even the ones that were never published. Revisioning even has a special option for that: create a new revision EVERY time the document is saved.

OK, sure, now I understand the option "create a new revision EVERY time the document is saved." Very usefull for important companies about serious things.

Having mentioned that maybe there is something to be said for a "lean" version of Revisioning whereby everything older than the current revision is deleted and only the current and pending revision(s) are kept...
Interesting thought....

Yep, it will be a cool feature for wiki websites with thousand of nodes with revisions enable.
I already have 4200 movies and I hope to have 30 000 for the official release next year.
Hopping users will help me to complete the movies pages. So I will have (I hope) a lot of revisions.

If i archived all revisions, It will be a lot of unnecessary space storage. The fact is I really don't know how many space revisions it could take. If it's only 100Go max for 100 000 revisions, it coulb be ok.
Meanwhile, many users use Drupal with share hosting and not a lot of space storage. So this features could be very usefull for them anyway. :)

junro’s picture

You could take a look at the Revision Delection module.

IDEALLY SUITED FOR
Any site with limited database size. Aged revisions, if not needed anymore, can bloat the size of the drupal database. If 10MBs or less is your maximum database size, this module may help you recover space.

ps: There is an issue about Diff module integration who works perfectly welll with Revisioning module.

iantresman’s picture

Title: Delete revisions older than the current revision. » Revisioning: Delete revisions older than the current revision.

Should be "Revision Deletion":

This modules enables the ability to mass delete aging node revisions. Possible settings include node type, the age of node revision before being deleted, along with a Cron frequency setting. The revisions may be deleted after review on an administer page as well. This module will NEVER delete the current revision of a node, nor will it allow you to do so.

junro’s picture

Looks perfect! Thanks :)

rdeboer’s picture

Status: Active » Closed (fixed)

Looks like Revision Deletion does the job. Closing issue.

Azol’s picture

Just to clarify: "Delete all revisions" SHOULD mean all REVISIONS, while the current node's content is the NODE itself, not its' own revision. That is probably not very clear, but if the feature does what it does, you absolutely have to change the wording from "Delete all revisions" into "Delete the node AND all node revisions". That will save users from misunderstanding and frustration.

giorgio79’s picture

Status: Closed (fixed) » Active

Hello,

Revision Deletion does the job, but it has not yet been updated to D7.

I would love this exposed as an action just like "Publish the most recent pending revision".

Revision Deletion also is not integrated with Views, and it is not possible to filter if there are multiple editors for example.

What do you think? :)

rdeboer’s picture

"Delete archived" is available in Revisioning 7.x-1.1. I have to backport it to 6.x-3.13.
I like the idea of making it an action too.

giorgio79’s picture

Hey Rik, meanwhile I noticed it is possible to create a View based on Node Revisions, maybe we can just simply delete revisions there, I have not yet explored it though.

rdeboer’s picture

Title: Revisioning: Delete revisions older than the current revision. » Revisioning: "Delete archived revisions" function as link on Revisions page and as triggerable action
Version: 6.x-2.x-dev » 6.x-3.12
Assigned: Unassigned » rdeboer
Status: Active » Fixed

Checked this ("Delete archived" link and action) into Git repository, 6.x-3.x branch. Will be available in 6.x-3.13.

Note: the "Delete archived revisions" actions is available for "Node update" triggers.

7.x-1.2 will follow suit.

Status: Fixed » Closed (fixed)

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

kaushalkishorejaiswal’s picture

Now the Node Deletion Module has been released. Download it and review it :)
http://drupal.org/project/node_revision_delete