keymanapp / keyman

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

bug(developer): `RangeError: Invalid code point ...` raised when invalid key ids are used #11260

Closed sentry-io[bot] closed 2 weeks ago

sentry-io[bot] commented 2 weeks ago

Sentry Issue: KEYMAN-DEVELOPER-1VN

RangeError: Invalid code point 641793551
  at Function.fromCodePoint(<anonymous>)
  at Object.unicodeKeyIdToString(/app/source/toucheditor/lib/builder.js:286:26)
  at Object.inferKeyText(/app/source/toucheditor/lib/builder.js:293:67)
  at Object.builder.keyCapChange(/app/source/toucheditor/lib/builder.js:726:24)
  at HTMLInputElement.builder.wrapChange.saveOnce(/app/source/toucheditor/lib/builder.js:665:13)
  at HTMLInputElement.<anonymous>(/app/source/toucheditor/lib/builder.js:634:17)
  at HTMLInputElement.dispatch(/app/source/toucheditor/lib/jquery-1.10.2.js:5095:9)
  at HTMLInputElement.elemData.handle(/app/source/toucheditor/lib/jquery-1.10.2.js:4766:28)