Postponed (maintainer needs more info)
Project:
Workflow-ng
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
11 Nov 2007 at 15:50 UTC
Updated:
13 Nov 2007 at 20:58 UTC
When I have the following configuration enabled, and try to edit node, then after pressing submit I'm redirected but all info I entered in the node is cleared - thus, I remain with an empty node and a bug to report about ;)
array (
'cfg_13' =>
array (
'#type' => 'configuration',
'#altered' => false,
'#event' => 'node_update',
'#label' => 'Update measurments - redirect to My measurments',
'#active' => 1,
'#module' => 'workflow-ng',
0 =>
array (
'#type' => 'condition',
'#name' => 'workflow_ng_condition_content_is_type',
'#label' => 'node=measurments?',
'#settings' =>
array (
'type' =>
array (
'measurements' => 'measurements',
),
),
),
1 =>
array (
'#type' => 'action',
'#name' => 'workflow_ng_action_drupal_message',
'#settings' =>
array (
'message' => 'Measurements for [node:title] were successfully updated.',
'used arguments' =>
array (
0 => 'node',
),
'error' => 0,
),
'#weight' => 499,
'#label' => 'Show a configurable message on the site',
),
2 =>
array (
'#type' => 'action',
'#name' => 'workflow_ng_action_drupal_goto',
'#settings' =>
array (
'path' => 'measurements',
'query' => '',
'fragment' => '',
'force' => 0,
'path_args' =>
array (
),
),
'#label' => 'Page redirect to My measurments ',
),
'#description' => NULL,
'#attributes' =>
array (
),
'#required' => false,
'#tree' => false,
'#parents' =>
array (
),
'#recursion' => false,
'#fixed' => false,
'#execute' => 'workflow_ng_execute_configuration',
'#process' =>
array (
'workflow_ng_ui_prepare_configuration' =>
array (
),
),
'#_defaults_applied' => true,
'#name' => 'cfg_13',
),
)
Comments
Comment #1
fagohm, I just tested it on my test site. I only removed the condition and it worked fine. (apart from the ? bug)
Anyway, on node update the node has been already saved so this can't be really the cause for your issue.