Closed (fixed)
Project:
Address
Version:
2.0.0-beta2
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
1 Dec 2023 at 15:23 UTC
Updated:
15 Dec 2023 at 17:34 UTC
Jump to comment: Most recent
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.
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)
Create new dev 2.x-beta release containing https://git.drupalcode.org/project/address/-/commit/0d479b187d669f657246...
^ This :)
Comments
Comment #2
niklp commentedThis is a warning, not an error, apologies. Would be great to remove all issues during a payment process however.
Comment #3
bojanz commentedDone: https://www.drupal.org/project/address/releases/2.0.0-beta3
Thanks for the heads up.