Download & Extend

VBO actions cause errors with Rules

Project:Views Bulk Operations (VBO)
Version:6.x-1.x-dev
Component:Core
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

It looks like the original issue from http://drupal.org/node/383852 is back in 6.x-1.11-beta1 (and latest dev)

when I try to add the "Modify node taxonomy terms" action to a rule I get:
"Fatal error: Call to undefined function views_bulk_operations_taxonomy_action_submit() in /srv/www/drupal6-ukgbc/sites/all/modules/rules/rules/modules/rules.rules.inc on line 409"

It looks like the call to _views_bulk_operations_load_actions() in hook_init() was removed. But I can't track down why.

Once again:
Need to add some code directly into .rules.inc that includes the action includes of vbo? So once .rules.inc gets included, it would automatically include the actions includes and everything should work.

Comments

#1

Attached a rough patch to include actions files when includes views_bulk_operations.rules.inc

AttachmentSize
vbo-actions-with-rules-1258666-1.patch 416 bytes

#2

Version:6.x-1.11-beta1» 6.x-1.x-dev
Status:active» fixed

Fixed in the latest dev, using a different patch. Please try it and let me know.

#3

Status:fixed» closed (fixed)

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

#4

Status:closed (fixed)» active

With 6.x-1.12 and the latest dev, I get the following error when I try to create an advanced action to make a rule set available to Triggers (for use with the Workflow module):

"Fatal error: Call to undefined function views_bulk_operations_ruleset_action_rules_notify_reviewer_submit() in /home/public_html/clients/walker/modules/system/system.module on line 1559"

Is this the same problem as above or should I open a new issue? I'd love some help in resolving this!

#5

#1 above fixed the error below for me! I thought this would be in the 1.12 release but seems it's not

Fatal error: Call to undefined function views_bulk_operations_fields_action() in /home/oceanale/public_html/sites/all/modules/views_bulk_operations/views_bulk_operations.rules.inc on line 70

thanks!!