Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I have several content taxonomy fields in my content type. When I perform a custom PHP action with the workflow-ng module:
$node->field_pro_question = array(0 => array('value' => 'Oui'),);
return array("node" => $node);
by a cclink action, (I use the "now option") than I loose all the content taxonomy fields datas.
Do you have a idea ?
Benjamin
Dissociation of taxonomy when an action is performed with cclink.
Comments
Comment #1
fagoProbably the module has problems if one just does node_load() and node_save() afterwards. Try updating the module and report an issue there if the problem persists.
Comment #3
burlap CreditAttribution: burlap commentedI have this issue with a cclink that triggers "set a machine state" action. Content taxonomy fields get wiped out. I'm using W-ng 2.2.
Where should i look for node_load/node_save? Is it states module issue or rather content taxonomy?