Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Addressing] Country fixes #3507

Merged
merged 1 commit into from
Oct 30, 2015
Merged

Conversation

peteward
Copy link

Q A
Bug fix? no
New feature? no
BC breaks? no
Deprecations? no
Fixed tickets
License MIT
Doc PR

Provinces for a country ordered by name by default
Ensure __toString() won't break on Country. I may have an old DB, but some countries in my db couldn't retrieve a translation so blew up when used in a country dropdown.

Ensure __toString() won't break on Country
@pamil
Copy link
Contributor

pamil commented Oct 30, 2015

I'm just curious, what countries codes can't be translated to localised country name by Intl?

@peteward
Copy link
Author

('BV', 'QU', 'HM', 'AN', 'QO', 'CS')

They were in my Sylius DB from a long time ago

pjedrzejewski pushed a commit that referenced this pull request Oct 30, 2015
@pjedrzejewski pjedrzejewski merged commit a92654a into Sylius:master Oct 30, 2015
@pjedrzejewski
Copy link
Member

Interesting, we should investigate this more and provide better output if possible, but this is definitely a needed fix, thank you Peter! 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants