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

jvandyk’s picture

Status: Active » Fixed

Good catch. Fixed in HEAD; fix will appear in beta2.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.