Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError when opening classic Boostnote storage #872

Closed
tewe opened this issue Mar 16, 2021 · 3 comments
Closed

TypeError when opening classic Boostnote storage #872

tewe opened this issue Mar 16, 2021 · 3 comments

Comments

@tewe
Copy link

tewe commented Mar 16, 2021

Current behavior

When first launching Boost Note, I didn't know that the storage format had changed, and gave it the path to my Boostnote data. This resulted in the following.

TypeError: Cannot read property '/' of
undefined

Boostnote 2021-03-16 at 1 46 20 PM

I assume this refers to my old boostnote.json having a "folders" object instead of the new "folderMap" with its "/" key.

Expected behavior

An import wizard. Or at least an error message pointing to some documentation.

Steps to reproduce

  1. run Boostnote
  2. create some notes
  3. install Boost Note
  4. give it the existing folder

Environment

Desktop/Web

  • Boost Note.next version: 0.14.1
  • OS version and name: macOS 10.13.6
@Komediruzecki
Copy link
Contributor

Komediruzecki commented Mar 16, 2021

Hi, tewe,

Sorry for the trouble, but Boost Note next is a completely new application, it's not just that storage changed, migration tutorial can be found here: https://medium.com/boostnote/how-to-migrate-data-from-old-boostnote-efd8a5c7aa7d

I agree that if we could easily detect such a case, we could notify the user that this is a new boost note and advise learning how to import the legacy storage into a new boost note.

@Rokt33r
Copy link
Member

Rokt33r commented Aug 20, 2021

Closed because of inactivity.

@Rokt33r Rokt33r closed this as completed Aug 20, 2021
@Rokt33r Rokt33r added help wanted 🆘 Pull request/issue requires extra help from the community. Check these out if you're new! and removed help wanted 🆘 Pull request/issue requires extra help from the community. Check these out if you're new! labels Aug 20, 2021
@tewe
Copy link
Author

tewe commented Aug 20, 2021

I wrote a script to export from the old Boost Note format to a completely different application, hence the inactivity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants