Voting starts in March for the Drupal Association Board election.
$context['mode'] is required to be 'form' or 'render' when calling addressfield_generate() which in-turn calls addressfield_format_address_generate() with the same requirement. This causes undefined index errors.
$context['mode'] needs to either be checked before a comparison or $context array needs to be changed to a required argument.
Related to http://drupal.org/node/1664378