note-taker icon indicating copy to clipboard operation
note-taker copied to clipboard

Import fails if underscore or space included in .json filename

Open seascape opened this issue 5 years ago • 0 comments

Bug Report

Please fill out this information:

  • Browser version: Firefox 73.0.1
  • Extension version: 1.2.7
  • Operating system: Win10 x64

What happened? A site changed its URL scheme so I had to export my notes and change a bunch of URLs via a regular expression. When I tried to re-import them Note Taker lost all notes and settings. The cause turned out to be introducing space and/or underscore characters in my fixed .json filename, so the workaround was thankfully trivial.

I would not be surprised if other ostensibly legal characters in the filename can cause this too.


How to reproduce: Export notes. Add a space or underscore to the .json filename. Try to import the .json. Notes and settings should be lost.


When this occurs the browser console outputs the top two lines here: Clip 000274 DR 75  New Issue · Rayquaza01_note-taker

seascape avatar Feb 21 '20 06:02 seascape