Skip to content

fix(root): guard language init crash + release notes for 4.2.5 - #698

Merged
vpPavithra merged 2 commits into
masterfrom
fix/root-langsvc-and-dashboard-empty-results
Jul 27, 2026
Merged

fix(root): guard language init crash + release notes for 4.2.5#698
vpPavithra merged 2 commits into
masterfrom
fix/root-langsvc-and-dashboard-empty-results

Conversation

@vpPavithra

@vpPavithra vpPavithra commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

Summary

Test plan

  • nvs use 20 && yarn test — all 145 suites / 2516 tests pass
  • yarn run build — production build succeeds
  • Smoke-test on preprod: competency assessment/quiz loading, initial language on load, mobile dashboard empty-search behavior

- Optional-chain userProfile so RootComponent no longer crashes on init when
  userProfile is unset, falling back to org default locale or 'hi'
- Update RootComponent spec constructor mocks for the new LanguageService dependency
@vpPavithra vpPavithra changed the title fix(root): guard configSvc.userProfile before reading language on init fix(root): guard language init crash + release notes for 4.2.5 Jul 27, 2026
@vpPavithra
vpPavithra merged commit d3ef3a9 into master Jul 27, 2026
1 check failed
@vpPavithra
vpPavithra deleted the fix/root-langsvc-and-dashboard-empty-results branch July 27, 2026 14:52
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