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).

Comments

nrambeck’s picture

StatusFileSize
new1013 bytes

Here is a patch that fixes the bug. Also, re-saving the field settings fixes the bug.

michaelfavia’s picture

@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.

phayes’s picture

In code is just fine would say. Much easier too.

phayes’s picture

Status: Active » Reviewed & tested by the community
phayes’s picture

Status: Reviewed & tested by the community » Fixed

Commited

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.