Closed (fixed)
Project:
Views Bulk Operations (VBO)
Version:
7.x-3.0-beta1
Component:
Core
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Jul 2011 at 19:16 UTC
Updated:
23 Aug 2011 at 09:21 UTC
I'm getting the following error message when I execute a VBO operation. The operation is executed however.
Notice: Undefined index: execution_type in _views_bulk_operations_execute() (line 670 of C:\wamp\www\contracts2\sites\all\modules\views_bulk_operations\views_bulk_operations.module).
Comments
Comment #1
bojanz commentedJust a leftover line from a refactoring that nobody noticed until now (I wonder why I didn't see the notice myself).
In any case, committed a fix. Thanks!
Comment #2
chalee commented@bojanz: thanks
Comment #3
BeaPower commentedHi what is the fix, will you add it to the module for an update? Thanks.
Comment #4
bojanz commentedhttp://drupalcode.org/project/views_bulk_operations.git/commitdiff/96d74...
It is present in 7.x-3.x-dev. You can use that version until I tag 7.x-3.0-beta2 (in about 10 days).
Comment #5
BeaPower commentedOk, I will wait in 10 days :)
Comment #6
carn1x commentedI am getting this bug, however the operation is not carried out.
I bulk deleted about 20 products all at once, 5 remained with this error. Trying to delete each individually with VBO causes the error.
As I'm writing this, I've just discovered if I try and delete from the product itself, I see the error: "This product is referenced by a line item on Order 1 and therefore cannot be deleted. Disable it instead."
I suppose VBO should report this error rather than that in the OP, or is this just a coincidence?
EDIT: Found the order and deleted it, then came back to delete remaining products. Still got the error above, however the products deleted, so I suppose the error was possibly unrelated.
Comment #7
bojanz commentedThat is a Commerce bug, where it is canceling the delete without first telling VBO through the access callback. See #1199130: Check if entity_delete() successfully did the job (after Entity API starts returning the status). I know there's an issue in the Commerce queue somewhere as well.