keymanapp / keyman

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

bug(developer): multiple email addresses in author field causes crash in KeyboardInfoCompiler #11362

Open mcdurdin opened 1 week ago

mcdurdin commented 1 week ago

If there's multiple author emails listed (example yezidi.kps), kmc would crash with:

 "error": [
    {
      "instancePath": "/authorEmail",
      "schemaPath": "#/properties/authorEmail/format",
      "keyword": "format",
      "params": {
        "format": "email"
      },
      "message": "must match format \"email\""
    }
  ]
}
    at KeyboardInfoCompiler.writeKeyboardInfoFile (file:///C:/src/keyboards/node_modules/@keymanapp/kmc-keyboard-info/build/src/index.js:234:19)

Keyman Developer 17.0.318-beta, extracted from #11330.

This should be a compiler error message, not a crash.

sentry-io[bot] commented 1 week ago

Sentry Issue: KEYMAN-DEVELOPER-1XE