Steps to reproduce:

1. Make a moderated node.

2. Change the state from draft to published.

3. Create and save a new draft.

4. From the URL node/%nid/draft, use the form to change the state of the new draft publish this node.

5. This form does not redirect and the page will reload to node/%nid/draft. However there is no longer a "draft." The current revision is the published revision.

CommentFileSizeAuthor
#1 issue1089464-r1.patch755 bytesmechler

Comments

mechler’s picture

StatusFileSize
new755 bytes

The comments for workbench_moderation_moderate_form_submit actually specify that this error will occur. Here's a patch. Did I miss anything?

stevector’s picture

Status: Active » Needs review

This worked for me. I'd like to get the opinion of at least one other WB developer.

muriqui’s picture

For what it's worth, I've tested this and it works for me as well.

stevector’s picture

Assigned: stevector » Unassigned
stevector’s picture

Status: Needs review » Reviewed & tested by the community

This seems small enough to get in soon.

dave reid’s picture

Yeah, looks good to me too.

becw’s picture

Assigned: Unassigned » becw

I'll commit this tomorrow.

jaiiali’s picture

subscribe

becw’s picture

Status: Reviewed & tested by the community » Fixed

Patch from #1 committed in 8a817.

Status: Fixed » Closed (fixed)

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