$ drush vbo-execute some-vbo some-action

leaves in dblog:

Notice: Undefined variable: plugin in views_bulk_operations_execute() (Zeile 1057 von .../views_bulk_operations/views_bulk_operations.module).

a quick peek in the code gave me no hint where this should come from.

CommentFileSizeAuthor
#2 1183882.patch766 bytesbojanz
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

geek-merlin’s picture

not to overlook: in fact the var is used twice there.

bojanz’s picture

Status: Active » Needs review
FileSize
766 bytes

Blurgh. I had drush integration working. Somethimg most have gotten messed up when the reloaded branch was merged in...

Try this patch.

geek-merlin’s picture

Status: Needs review » Needs work

hmm, vbo gives us no ->views as it seems:

Notice: Undefined property: views_bulk_operations_handler_field_operations::$views in _views_bulk_operations_execute() (Zeile 567 von /home/xl/workspace/sanago/sites/all/modules/views_bulk_operations/views_bulk_operations.module).
Notice: Trying to get property of non-object in _views_bulk_operations_execute() (Zeile 567 von /home/xl/workspace/sanago/sites/all/modules/views_bulk_operations/views_bulk_operations.module).

bojanz’s picture

Status: Needs work » Needs review

I see no ->views on line 567 or anywhere in that function. Can you please update to the latest code (-dev), and reapply the patch?

bojanz’s picture

Status: Needs review » Fixed

Committed the patch. Works nicely on my machine.

Status: Fixed » Closed (fixed)

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