note-taker
note-taker copied to clipboard
Import fails if underscore or space included in .json filename
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: