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

fix LocalizationToken.GetReplaceValue: fallback to old logic #785

Merged

Conversation

czullu
Copy link
Contributor

@czullu czullu commented Nov 2, 2022

fallback to old logic as for me _defaultLCID has always a Value i.e. 0 or the correct LCID and will throw a error when defaultEntry is null because of the way resources are loaded. You can see first 2 have only one ResourceEntries in specific language and last one has 2 Entries. In case of a EN Default site the second LocalizationToken would fail to load - therefore the fallback.

Screenshot_20221101_044323

…efaultLCID has always a Value i.e. 0 or the correct LCID and will throw a error when
jansenbe added a commit that referenced this pull request Nov 7, 2022
@jansenbe jansenbe merged commit aafca6b into pnp:dev Nov 7, 2022
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.

None yet

2 participants