Automattic / simplenote-electron

Simplenote for Web, Windows, and Linux
https://app.simplenote.com
GNU General Public License v2.0
4.78k stars 557 forks source link

Simplenote Freezes When the User Attempts to Import Improperly Formatted JSON #3130

Closed matthewelmer closed 1 year ago

matthewelmer commented 1 year ago

Expected

When you try to parse bad data, an error should be presented to the user.

Observed

When bad data is parsed, Simplenote freezes.

Reproduced

  1. Open the Simplenote desktop app
  2. File... Import Notes... Browse
  3. Select improperly formatted json files (I tried to import from Google Keep)

image

Where did you see the bug

codebykat commented 1 year ago

Duplicate of #2517