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(JSResourceLocator): Handle missing translations silently #38207

Merged
merged 1 commit into from
May 12, 2023

Conversation

susnux
Copy link
Contributor

@susnux susnux commented May 11, 2023

Summary

Ensure that even if no app path could be loaded, missing translations are handled silently and no error is logged in that case.
I have also added a test case for the linked issue.

Checklist

@susnux susnux requested review from artonge, come-nc, a team, ArtificialOwl and nfebe and removed request for a team May 11, 2023 15:54
@susnux susnux force-pushed the fix/jsresourcelocator-l10n-handling branch from a88b51e to 4efef1c Compare May 11, 2023 15:55
lib/private/Template/JSResourceLocator.php Outdated Show resolved Hide resolved
@susnux susnux force-pushed the fix/jsresourcelocator-l10n-handling branch from 4efef1c to 31c01fa Compare May 11, 2023 16:22
@skjnldsv skjnldsv merged commit 174c226 into master May 12, 2023
@skjnldsv skjnldsv deleted the fix/jsresourcelocator-l10n-handling branch May 12, 2023 08:47
@skjnldsv skjnldsv added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels May 12, 2023
@blizzz blizzz mentioned this pull request May 12, 2023
@juliusknorr
Copy link
Member

Seems this may introduce broken instances after upgrade, possible fix is in #38237

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4. to release Ready to be released and/or waiting for tests to finish feature: templates regression
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: NC27beta1 jsresourceloader cant find resource
5 participants