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.

Comments

prics’s picture

StatusFileSize
new950 bytes

This patch solved the problem.

prics’s picture

@bojanz, any feedback about this issue ?
Thanks,

philipz’s picture

StatusFileSize
new3.65 KB

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.

knoebel’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.