Problem/Motivation

The commerceguys/addressing library was recently updated to include the "town_city" label for UK/NZ.
The sister commit for this issue is not yet available in drupal/address, outside of pinning a dev commit.

Steps to reproduce

Use commerceguys/addressing 2.1.1
Use drupal/address 2.0.0-beta2
Do UK stuff
Enjoy! -> Warning: Undefined array key "town_city" in Drupal\address\LabelHelper::getLocalityLabel() (line 138 of /var/www/web/modules/contrib/address/src/LabelHelper.php)

Proposed resolution

Create new dev 2.x-beta release containing https://git.drupalcode.org/project/address/-/commit/0d479b187d669f657246...

Remaining tasks

^ This :)

Comments

NikLP created an issue. See original summary.

niklp’s picture

Priority: Major » Normal

This is a warning, not an error, apologies. Would be great to remove all issues during a payment process however.

bojanz’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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