Skip to content

Conversation

@ro0NL
Copy link
Contributor

@ro0NL ro0NL commented Jan 12, 2020

Q A
Branch? 4.4
Bug fix? yes
New feature? no
Deprecations? no
Tickets Fix #35309
License MIT
Doc PR symfony/symfony-docs#...

The legacy API can crash as of 4.4, due #33148 where we split some indices which affects both the old and new API.

in 4.4 e.g. [Names][en_US] doesnt exist anymore, hence the $region variable became useless (we force fake a fallback now).

The data is still available in [LocalizedNames][en_US], but let's be pragmatic for now and fix the BC break at least.

Comment on lines -50 to -51
} catch (MissingResourceException $e) {
}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

from the issue

// should return Austrian German does return German

so the fallback already happens, due this catch. This PR doesnt make sense 😅

@ro0NL ro0NL closed this Jan 12, 2020
@ro0NL ro0NL deleted the patch-3 branch January 12, 2020 10:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants