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
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | workflow-782538-2.patch | 915 bytes | jcisio |
| example.rule_.txt | 3.83 KB | webdrips |
Comments
Comment #1
jcisio commentedI don't have any Rules, Revisionning or Token, but I have the same problem. It is a workflow bug.
Comment #2
jcisio commentedThis 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
Comment #3
Encarte commentedI 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).
Comment #4
jcisio commentedIt is related with #398110: node_submit resets $node->uid because it used node_save(). However, this is fixed in the other issue.