Boostnote.next: Import of old note failing

Created on 28 Mar 2020  路  12Comments  路  Source: BoostIO/BoostNote.next

Current behavior

I follow the step of import .cson file from old Boostnote.
But after I drop the .cson file, the form shows Invalid file: XXXXX.cson.
瑷昏В 2020-03-28 165706
And After I pressed Upload, I got Successfully imported 0 notes..
瑷昏В 2020-03-28 165827

Is that a bug or my forgot to do something?
Thanks.

Operation System: Windows 10
Language: Chinese

bug won鈥檛 fix

Most helpful comment

I'll delete the current broken importing feature from v0.4. But it will be back along with File system based storage. @WyekS @Flexo013 @fnsne

All 12 comments

Sorry for making you confused. The importing feature is not fully ready yet. I assume the note should be a snippet note which the new app doesn't support anymore. So, if you need to use the note, please keep using the old app. We will keep maintaining it until most of features of the old app are ready to use.

If the cson file is not snippet notes, please share the content so we can reproduce the problem.

Thank for the reply.
The cson file is markdown notes.
Here is one of notes that cannot be imported.

createdAt: "2020-01-14T07:00:14.251Z"
updatedAt: "2020-03-29T06:59:09.521Z"
type: "MARKDOWN_NOTE"
folder: "fa1c2e9fba092f0b94b1"
title: "TDD DIworkshop"
tags: [
  "91"
]
content: '''
  # TDD DIworkshop

  ## testcases
  case|accountId| password|otp|hashedPassword|passwordFromDb| otpFromService|result
  ---|---|---|---|---|---|---|---|----
  is_valid| "joey"|"1234"| "right otp"|"hashed password"|"hashed password"| "right otp"|true
  is_invalid| "joey"| "1234"| "wrong otp"| hased password"| "hashed password"| "right otp"| false
'''
linesHighlighted: []
isStarred: false
isTrashed: false

Hmm It might be a bug. Thanks for sharing.

I can't reproduce this bug, I was able to import this note just fine on Ubuntu web version. Maybe error at read file stage?

@ZeroX-DG
Maybe because I'm using Windows and my OS language is Chinese?

This is definitely a bug. I can reproduce this with all kinds of valid notes from the legacy app.

Even a simple note with 1 character fails to import when using the web app in Chrome on Windows 10.

createdAt: "2020-04-07T05:56:39.347Z"
updatedAt: "2020-04-07T05:56:41.284Z"
type: "MARKDOWN_NOTE"
folder: "5492e730e2e37ab114d6"
title: "a"
tags: []
content: "a"
linesHighlighted: []
isStarred: false
isTrashed: false

Ah I was able to reproduce the bug in the currently deployed version of Boostnote but not on the master version of Boostnote...maybe it been fixed sometime after deployed?

I have the same bug.
I used to Boostnote on Arch Linux and Windows and I used to Dropbox to share notes between this systems.

Now, Boostnote was updated on Windows and I can't load the old notes on my Dropbox :(
I have many notes saved...

I I tried to change the CR/LF encoding in the CSON files without success.

Thanks you and regards

@WyekS @Flexo013 @fnsne Hmm I'm thinking that rather than keeping the broken importing features, why don't we just delete this feature and focus on File system based storage which will cover this problem too. How do you think?

FYI, I'm expecting that the file system based storage should be completely landed before the end of this June.

I'll delete the current broken importing feature from v0.4. But it will be back along with File system based storage. @WyekS @Flexo013 @fnsne

Thanks so much @Rokt33r :)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

derekantrican picture derekantrican  路  4Comments

Flexo013 picture Flexo013  路  4Comments

Meiryo7743 picture Meiryo7743  路  5Comments

Rokt33r picture Rokt33r  路  3Comments

Username77177 picture Username77177  路  4Comments