[GH-ISSUE #393] Import of old note failing #177

Closed
opened 2026-03-03 00:19:03 +03:00 by kerem · 12 comments
Owner

Originally created by @fnsne on GitHub (Mar 28, 2020).
Original GitHub issue: https://github.com/BoostIO/BoostNote-App/issues/393

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

Originally created by @fnsne on GitHub (Mar 28, 2020). Original GitHub issue: https://github.com/BoostIO/BoostNote-App/issues/393 # 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](https://user-images.githubusercontent.com/11658267/77819355-370be600-7115-11ea-814a-d05348a3f61d.png) And After I pressed Upload, I got `Successfully imported 0 notes.`. ![註解 2020-03-28 165827](https://user-images.githubusercontent.com/11658267/77819394-7f2b0880-7115-11ea-92a6-c881ce4e142f.png) Is that a bug or my forgot to do something? Thanks. Operation System: Windows 10 Language: Chinese
kerem 2026-03-03 00:19:03 +03:00
Author
Owner

@Rokt33r commented on GitHub (Mar 29, 2020):

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.

<!-- gh-comment-id:605592129 --> @Rokt33r commented on GitHub (Mar 29, 2020): 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.
Author
Owner

@fnsne commented on GitHub (Mar 29, 2020):

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
<!-- gh-comment-id:605595585 --> @fnsne commented on GitHub (Mar 29, 2020): 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 ```
Author
Owner

@Rokt33r commented on GitHub (Mar 29, 2020):

Hmm It might be a bug. Thanks for sharing.

<!-- gh-comment-id:605688279 --> @Rokt33r commented on GitHub (Mar 29, 2020): Hmm It might be a bug. Thanks for sharing.
Author
Owner

@ZeroX-DG commented on GitHub (Apr 7, 2020):

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?

<!-- gh-comment-id:610177129 --> @ZeroX-DG commented on GitHub (Apr 7, 2020): 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?
Author
Owner

@fnsne commented on GitHub (Apr 7, 2020):

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

<!-- gh-comment-id:610186828 --> @fnsne commented on GitHub (Apr 7, 2020): @ZeroX-DG Maybe because I'm using Windows and my OS language is Chinese?
Author
Owner

@Flexo013 commented on GitHub (Apr 7, 2020):

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

<!-- gh-comment-id:610190828 --> @Flexo013 commented on GitHub (Apr 7, 2020): 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 ```
Author
Owner

@ZeroX-DG commented on GitHub (Apr 7, 2020):

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?

<!-- gh-comment-id:610292345 --> @ZeroX-DG commented on GitHub (Apr 7, 2020): 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?
Author
Owner

@WyekS commented on GitHub (Apr 9, 2020):

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

<!-- gh-comment-id:611407382 --> @WyekS commented on GitHub (Apr 9, 2020): 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
Author
Owner

@Rokt33r commented on GitHub (Apr 9, 2020):

@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?

<!-- gh-comment-id:611450516 --> @Rokt33r commented on GitHub (Apr 9, 2020): @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?
Author
Owner

@Rokt33r commented on GitHub (Apr 9, 2020):

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

<!-- gh-comment-id:611450769 --> @Rokt33r commented on GitHub (Apr 9, 2020): FYI, I'm expecting that the file system based storage should be completely landed before the end of this June.
Author
Owner

@Rokt33r commented on GitHub (Apr 11, 2020):

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

<!-- gh-comment-id:612352886 --> @Rokt33r commented on GitHub (Apr 11, 2020): 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
Author
Owner

@WyekS commented on GitHub (Apr 13, 2020):

Thanks so much @Rokt33r :)

<!-- gh-comment-id:612855907 --> @WyekS commented on GitHub (Apr 13, 2020): Thanks so much @Rokt33r :)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/BoostNote-App#177
No description provided.