Upon submission of a webform using addressfield and addressfield_tokens, I get this error message:

Notice: Undefined index: administrative_area in _addressfield_process_format_form() (line 183 of /var/www/foo/www/sites/all/modules/addressfield/addressfield.module).

Any input would be appreciated.

Thanks!

Comments

cmejo’s picture

Issue summary: View changes

fixed formatting

rszrama’s picture

Version: 7.x-1.0-beta4 » 7.x-1.x-dev
Status: Active » Fixed

Honestly, I'm not sure how you're ending up with an address field value that is missing an administrative_area key. There's some problem upstream, but as with #1997572: Undefined index in _addressfield_render_address() line 223, we can make this a little more defensive.

Commit: http://drupalcode.org/project/addressfield.git/commitdiff/c5cfac2

Status: Fixed » Closed (fixed)

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

Anonymous’s picture

Issue summary: View changes

fixed formatting again...