Active
Project:
Workflow-ng
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
9 Dec 2007 at 20:49 UTC
Updated:
10 Dec 2007 at 16:03 UTC
Hi Fago,
Again, with relation to the Node lock, here's a problem I have:
I'd like to invoke an action when user tries to revert/ delete a node revision that is locked.
However, the revisions themselves are not set to the CCL links, so the machine state is not passed.
I think of two options:
1. create a checkbox in the CCL settings - "change state for revision as well".
2. The current revision state should pass to WF-ng
what do you think?
Comments
Comment #1
fagohm, the state is already stored for a revision, not for a whole node. so it's possible that different revisions have different states. So what you would need is probably a possiblilty to get the "active revision's" node object...
Comment #2
amitaibushould I - try to :P - implement it through a new module, or should try to find a wf-ng solution for this?