Closed (fixed)
Project:
Workflow
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
31 May 2006 at 20:12 UTC
Updated:
14 Jun 2006 at 22:45 UTC
When you change the workflow for a node using the workflow tab, actions that act on the node do not work correctly. The problem is that the actions are executed, but the node is saved again, overwriting any changes made.
I've attached a patch. I suspect it will break na_arbitrator, since I'm removing a line of code that seems to be there for the express purpose of making na_arbitrator happy.
Maybe that line should be changed to load and save the node instead of just saving it, but I don't know Drupal well enough to see if there's a better way.
Comments
Comment #1
merlinofchaos commentedThe line should be removed; workflow_access can deal with updating on state change via hook_workflow, which is what it should've done originally, but I didn't think of that.
Comment #2
Tobias Maier commentedI think this means its ready to be commited...
Comment #3
jvandyk commentedCommitted.
Comment #4
(not verified) commented