We are using the following patches:
# Notice: Undefined index: value in _multiselect_build_widget_code().
# https://www.drupal.org/node/2527428
- https://www.drupal.org/files/issues/multiselect.fix_.notices.patch
# Multiselect FAPI example does not work
# https://www.drupal.org/node/1921592
- https://www.drupal.org/files/issues/multiselect-FAPI-example-does-not-wo...
# Multiselect in fieldset jQuery selector issue
# https://www.drupal.org/node/2744127
- https://www.drupal.org/files/issues/multiselect_jquery_selector_escape_s...
# Form API #default_value issue
# https://www.drupal.org/node/2745499
- https://www.drupal.org/files/issues/multiselect_default_values_form_api_...
The issue: there is an entity reference field which uses multiselect widget. When I choose something from it and click the Preview button I get
Warning: Illegal offset type in _multiselect_build_widget_code() (line 269 of /var/www/vfsdm/docroot/sites/all/modules/contrib/multiselect/multiselect.module).
Comment | File | Size | Author |
---|---|---|---|
#2 | multiselect-warning-appears-on-node-preview-2756943-2-d7.patch | 740 bytes | ShaxA |
Comments
Comment #2
ShaxA CreditAttribution: ShaxA at FFW commentedHi, i have found the issue too and have created and applied a patch for it. Problem is that Entity Reference fields come also as an array, the same as other fields
Comment #3
danielangelov CreditAttribution: danielangelov commentedComment #4
danielangelov CreditAttribution: danielangelov commentedWorks properly now.
Comment #5
danielangelov CreditAttribution: danielangelov commented