Hi.

I have the latest recommended versions of Rules, Workflow, Revisioning, Drupal 6, Tokens, and Actions.

Other Relevant info: PHP 5.2.5, MySQL 5.0.45, Apache 2.x Web Server running on UNIX.

I believe changing a workflow state should optionally change the author of the post as it is not desired to change the author in my case.

I assume there is a fundamental reason for this, so can somebody point me to which module I can modify so this doesn't happen?

If this is going to require a major hack, right now I'd be okay if I could just get the rule to execute correctly: send an email to the author of the last revision BEFORE the author gets updated automatically. (I can't depend on sending it to the original author).

I'm attaching my rule just in case.

If anyone can point me in the right direction, it would be appreciated.

Thanks in advanced.

Dan

CommentFileSizeAuthor
#2 workflow-782538-2.patch915 bytesjcisio
example.rule_.txt3.83 KBwebdrips

Comments

jcisio’s picture

Category: support » bug

I don't have any Rules, Revisionning or Token, but I have the same problem. It is a workflow bug.

jcisio’s picture

Version: 6.x-1.4 » 6.x-1.5
Status: Active » Needs review
StatusFileSize
new915 bytes

This patch solves it. This is because of a core behavior that was fixed in D7 but has not been backported to D6: #398110: node_submit resets $node->uid

Encarte’s picture

Status: Needs review » Closed (duplicate)

I don't think the described problem is related with #398110: node_submit resets $node->uid and, so, the patch may not be a solution. But #1471014: Submitting workflow tab form clobbers current revision details seems to really address the problem (haven't tested it yet, but sounds like a good approach).

jcisio’s picture

It is related with #398110: node_submit resets $node->uid because it used node_save(). However, this is fixed in the other issue.