Got this error when saving new geocoded nodes after upgrading to beta1. Just a notice error. This doesn't cause anything to break.
Notice: Undefined index: delta_handling in geocoder_field_attach_presave() (line 295 of /var/www/boschung/drupal/sites/all/modules/project/contrib/geocoder/geocoder.module).
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 1459390-undefined_delta_handling_index.patch | 1013 bytes | nrambeck |
Comments
Comment #1
nrambeck commentedHere is a patch that fixes the bug. Also, re-saving the field settings fixes the bug.
Comment #2
michaelfavia commented@phayes: you want to handle this in code like this or in an update function? im cool either way. i usually prefer not dancing around updates in code but this type of oneliner isnt horrible and is one of those self healing issues in case somethign goes wrong in the future to the setting too.
Comment #3
phayes commentedIn code is just fine would say. Much easier too.
Comment #4
phayes commentedComment #5
phayes commentedCommited