Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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 CreditAttribution: rosinegrean commentedThis patch solved the problem.
Comment #2
rosinegrean CreditAttribution: rosinegrean commented@bojanz, any feedback about this issue ?
Thanks,
Comment #3
philipz CreditAttribution: 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 CreditAttribution: Zach Harkey commentedPatch in #3 stopped the errors for me.
Comment #5
cknoebel CreditAttribution: cknoebel commentedPatch #3 worked for me, too. Modifying the value of a Date field was my problem.
Comment #6
bojanz CreditAttribution: bojanz commentedCommitted #3, thanks!