Closed (fixed)
Project:
Workflow
Version:
6.x-1.0-beta1
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 Jul 2008 at 09:57 UTC
Updated:
6 Aug 2008 at 12:32 UTC
Hello!
I'm not a coder, just turn on this beta1 module on my D6 installation.
I attempt to do workflow sample, but catch a bug when save a form (story) in workflow after creation.
Then I did a trivial change in workflow.module
function workflow_workflow($op, $old_state, $new_state, $node) {
...
// $objects[$action_info['type']] = _actions_normalize_node_context($action_info['type'], $node);
$objects[$action_info['type']] = _trigger_normalize_node_context($action_info['type'], $node);
Looks like it working, but I'm not sure.
References:
http://api.drupal.org/api/file/includes/actions.inc/6
http://api.drupal.org/api/function/_trigger_normalize_node_context/6
Comments
Comment #1
jvandyk commentedGood catch. Fixed in HEAD; fix will appear in beta2.
Comment #2
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.