Editing an unpublished node creates a revision, shouldn't it just edit the first version if still unpublished?

Flow:
Content type has 'create new revision' and 'new revisions in moderation' checked 'published' is unchecked
Anonymous user creates node
Anonymous user edits the same node, which creates a new revision.

Am I mistaken, or should this just edit the original node, and not create a new revision if still unpublished?

Is this a limitation of the module because it needs at least one revision?

CommentFileSizeAuthor
#4 376301-2.patch1.73 KBmrthumpz
#3 376301-2.patch0 bytesmrthumpz

Comments

anrikun’s picture

Subscribing

mrthumpz’s picture

Title: Editing an unpublished node creates a revision, shouldn't it just edit the first version if still unpublished? » Allow changes to unpublished nodes without revision moderation
Category: bug » feature
Status: Active » Needs review

I have create a patch for this functionality.

This patch adds a checkbox in the Revision Moderation settings which will allow changes to unpublished nodes without revision moderation.

If checked, unpublished nodes will create a revision, but they will not enter the revision moderation process, similar to what an admin or someone with 'administer nodes' would encounter. The node remains unpublished, it is simply not a pending moderation.

mrthumpz’s picture

StatusFileSize
new0 bytes

disregard this post

mrthumpz’s picture

StatusFileSize
new1.73 KB