Skip to content

fix(JSResourceLocator): Handle missing translations silently#38207

Merged
skjnldsv merged 1 commit into
masterfrom
fix/jsresourcelocator-l10n-handling
May 12, 2023
Merged

fix(JSResourceLocator): Handle missing translations silently#38207
skjnldsv merged 1 commit into
masterfrom
fix/jsresourcelocator-l10n-handling

Conversation

@susnux

@susnux susnux commented May 11, 2023

Copy link
Copy Markdown
Contributor

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 a team, ArtificialOwl, artonge, come-nc 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
Comment thread lib/private/Template/JSResourceLocator.php Outdated
Comment thread lib/private/Template/JSResourceLocator.php
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
@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
Copy Markdown
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