The use case is trying to modify an entity which has a bundleswitcher field (provided by http://drupal.org/project/bundleswitcher). This field has no language assigned to it, so when _views_bulk_operations_modify_action_unset_required() is called, it will fail because the parameter sent to the function is null.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

rosinegrean’s picture

This patch solved the problem.

rosinegrean’s picture

@bojanz, any feedback about this issue ?
Thanks,

philipz’s picture

I had to change the condition a bit and add a second one to get rid of all the errors.

Zach Harkey’s picture

Patch in #3 stopped the errors for me.

cknoebel’s picture

Patch #3 worked for me, too. Modifying the value of a Date field was my problem.

bojanz’s picture

Issue summary: View changes
Status: Needs review » Fixed

Committed #3, thanks!

Status: Fixed » Closed (fixed)

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