I get the following notice when encoding an Irish address:
Notice: Undefined index: eircode in Drupal\address\LabelHelper::getPostalCodeLabel() (line 204 of /var/www/html/drupal8/modules/contrib/address/src/LabelHelper.php)

Comments

DuneBL created an issue. See original summary.

bojanz’s picture

Title: Problem with Irish address » Add Eircode to LabelHelper

We forgot to extend LabelHelper when we added Eircode to the library: https://github.com/commerceguys/addressing/commit/17ab073e1732e68fe810eb...

  • bojanz committed e2e22b6 on 8.x-1.x
    Issue #2900692 by bojanz: Add Eircode to LabelHelper
    
bojanz’s picture

Status: Active » Fixed

Pushed a fix. Thanks for the report.

Status: Fixed » Closed (fixed)

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

finne’s picture

Eircode seems to be also missing in \Drupal\address\LabelHelper::getPostalCodeLabels()
...but is fixed in 8.1-dev :-)