Closed (fixed)
Project:
Views Bulk Operations (VBO)
Version:
5.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Task
Assigned:
Reporter:
Created:
29 Apr 2008 at 20:32 UTC
Updated:
4 Jun 2008 at 15:33 UTC
When using Workflow and Action versions 5.x-2.x, which are compatible with Drupal 6 style actions, the batch operation functionality does not work.
The attached patch uses the new actions_do() function for single step workflow actions. This patch also includes - http://drupal.org/node/240838#comment-824383.
Please create a new 5.x-2.x branch.
| Comment | File | Size | Author |
|---|---|---|---|
| views_bulk_operations_1.patch | 1.29 KB | v1nce |
Comments
Comment #1
infojunkieThanks for the patch! I'll get to work on it next week.
Comment #2
cornmuffin commentedI applied the patch and can now access the workflow actions, however, when I attempt workflow operation which is configureable I receive an error on the parameters page where I believe it should show the workflow change state form. Here are the errors.
Set parameters for 'Change workflow state of post to new state'
* warning: array_merge() [function.array-merge]: Argument #2 is not an array in /home/mysite/public_html/modules/views_bulk_operations/views_bulk_operations.module on line 211.
* warning: array_keys() [function.array-keys]: The first argument should be an array in /home/mysite/public_html/modules/views_bulk_operations/views_bulk_operations.module on line 218.
It seems as if the single step batch operations are working correctly and so I assumed that module had to be changed to use actions_do for "configurable actions" however after 3 hours I was unable to tackle the problem.
Any help would be greatly appreciated.
Comment #3
infojunkieFixed in the latest release of the 1.x-dev branch. I didn't need to branch off the module, it will adjust automatically to old- or new-style actions.
Comment #4
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.