Upgrading to 5.x 2.5 branch from 1.x leaves triggers broken

dgtlmoon - June 5, 2008 - 12:37
Project:Workflow
Version:5.x-2.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

if you already have something like an 'action_node_publish' configured and you upgrade to 2.5 branch there appears to be some old data left in `actions_assignments` that causes the following error when the workflow is transitioned

Fatal error: Call to undefined function: action_node_publish() in sites/all/modules/
actions/actions.inc on line 103

Unfortunately the "unassign" link doesn't remove them, you just get a blank entry with an 'unassign' link in admin/build/trigger/workflow

this appears to fix it

delete from actions_assignments where aid like "action_%";

#1

PieterDC - July 23, 2008 - 11:00

The suggested sql statements fixes the error, BUT you'll have to manually reassign actions to triggers (as/if wanted).

#2

jvandyk - August 3, 2008 - 04:00
Project:Actions» Workflow
Version:5.x-2.x-dev» 5.x-2.x-dev
 
 

Drupal is a registered trademark of Dries Buytaert.