Hi,

I've seen a few threads about similar problems as the one I am describing here, although I am pretty sure those I read are different problems.

I am using workflow + actions to control the publishing of nodes (blog entries specifically).

I have 3 workflow states, which show up as radio buttons when creating/editing a node:

1. Published
2. Published to the front page
3. Unpublished

The reason I did this instead of using the checkboxes provided in node.module, is to make it easier to change the published status of a module. I found that with the checkboxes I had to check "published" AND uncheck "In moderation queue" every time I wanted to publish something. So I thought the 3 radio buttons above would allow me to have an easier interface.

The problem I am experiencing when I edit a node:
If I leave the workflow state unchanged and submit the form, the publishing state of the node returns to the default state as determined in admin > settings > content types > blog entry

Another strange thing is that the workflow checkbox shows the right state (which I left unchanged), even though the actual state of the node had been reset to the default.

Here's a use case:

It works when:

I have "In moderation queue" as my default option.

1. User "author" (without administer nodes privs) creates a node
2. The node is not published and it's in the moderation queue
3. User "editor" (with administer nodes privs and workflow privs) looks at the node
4. editor change the workflow state from Unpublished to Published (actions perform the needed changes)
5. node is published

It does not work when:

I have "In moderation queue" as my default option.

1. editor edits a node that has already been published
2. editor changes some text but leaves the workflow state left unchanged (as "Published")
3. editor submits the form
4. node returns to its default state of "In moderation queue"

Has anyone heard of this before?

Thanks,
M.

Comments

smokey-1’s picture

Yes, I have exactly the same problem. Did you find a solution?

smokey-1’s picture

Edit: spoke too soon.