Closed (fixed)
Project:
Rules
Version:
6.x-1.0-beta4
Component:
Rules Engine
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
10 Feb 2009 at 13:21 UTC
Updated:
19 Mar 2009 at 23:20 UTC
I have Rules 6.x-1.0-beta4 installed, along with the Views and Views Bulk Operations modules. I want to create a rule to make changes to a node vocabulary when it is created, but everytime I want to save the action I get an empty page with the error message "Fatal error: Call to undefined function views_bulk_operations_taxonomy_action_submit() in ) my/site/docroot/sites/all/modules/rules/rules/modules/rules.rules.inc on line 377"
To reproduce:
The same goes if you try to replace terms applied to content when it is updated. Using Views Bulk Operations (latest stable version - 6.x-1.4) I can create a View and perform taxonomy updates on content without any error.
Comments
Comment #1
fagohm, that's odd. This happens, as vbo includes the include file for the action only when hook_action_info() is called. However this does not happen when the form is saved as it's a multistep form, but also it wouldn't happen when the rules would be executed. So this would fail too.
So the only way to fix this would be invoking hook_action_info() every time rules executes or configures a rule, however this would cost performance on execution time! So I think the best fix for this would be just including all vbo action files when the vbo.rules.inc is included.
Comment #2
fagoalso see #362537: add support for rules
Comment #3
mdupontThe above issue is fixed now. Any news?
Comment #4
fagothanks to #372114: Crash with "Modifying node's taxonomy terms" it should be fixed with a recent vbo module.