If you use an addressfield for location, the generated address has the country code instead of the full country name.

For instance, given the following address:

John Doe
Sample Street 100
12345 Mycity
Germany

the generated location looks like:

LOCATION:John Doe\, 100\, Sample Street\, 12345\, DE

expected format would be:
LOCATION:John Doe\, 100\, Sample Street\, 12345\, Germany

I've created a small patch for that, please review.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

pc-wurm created an issue. See original summary.

Elin Yordanov’s picture

Elin Yordanov’s picture

Status: Active » Needs review
coredumperror’s picture

Ah, nice! I didn't even realize that was happening. Thanks for the patch.

  • coredumperror committed 9fb4665 on 7.x-3.x
    Issue #2564909: The country name will now be rendered properly from an...
coredumperror’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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