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.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | fields_without_language-1782214-3.patch | 3.65 KB | philipz |
| #1 | fields_without_language-1782214.patch | 950 bytes | rosinegrean |
Comments
Comment #1
rosinegrean commentedThis patch solved the problem.
Comment #2
rosinegrean commented@bojanz, any feedback about this issue ?
Thanks,
Comment #3
philipz commentedI had to change the condition a bit and add a second one to get rid of all the errors.
Comment #4
zach harkey commentedPatch in #3 stopped the errors for me.
Comment #5
cknoebel commentedPatch #3 worked for me, too. Modifying the value of a Date field was my problem.
Comment #6
bojanz commentedCommitted #3, thanks!