keymanapp / keyman

Keyman cross platform input methods system running on Android, iOS, Linux, macOS, Windows and mobile and desktop web
https://keyman.com/
Other
403 stars 112 forks source link

fix(developer): handle missing files in kmc-model #12596

Closed mcdurdin closed 2 weeks ago

mcdurdin commented 3 weeks ago

If a file is not found, loadfile returns null, which kmc-model now handles with a clear error message rather than a generic exception. Checks added for missing .model.ts and missing wordlist.tsv files. Added corresponding unit tests.

Fixes: #12553 Fixes: KEYMAN-DEVELOPER-294

@keymanapp-test-bot skip

keymanapp-test-bot[bot] commented 3 weeks ago

User Test Results

Test specification and instructions

User tests are not required

Test Artifacts

keyman-server commented 2 weeks ago

Changes in this pull request will be available for download in Keyman version 18.0.135-alpha