mirror of
https://github.com/BoostIO/BoostNote-App.git
synced 2026-04-26 21:05:55 +03:00
[GH-ISSUE #975] [bug] Deleting folder in boostnote removes all notes within that folder :-( #437
Labels
No labels
android 🤖
assigned to core 🦹
bug 🐛
documentation 📚
documentation 📚
duplicate 🚫
external issue 🔼
external issue 🔼
feature request 🌟
funded on issuehunt 💵
help wanted 🆘
improvement request 🔨
improvement request 🔨
ios 🍎
mobile 📱
needs investigation 🔬
needs more info ℹ️
needs specs 📐
plugin idea 🔌
plugin idea 🔌
poll 🗳️
pull-request
question ❓
rewarded on issuehunt 🎁
security issue 🔑
won’t fix ❌
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/BoostNote-App#437
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @huzibizi on GitHub (May 28, 2021).
Original GitHub issue: https://github.com/BoostIO/BoostNote-App/issues/975
Current behavior
When you create a folder and some notes within that folder, then rename that folder, the notes that were within that folder all disappear and can't seem to be recovered.
Expected behavior
All notes within a folder should remain when that folder is renamed.
Steps to reproduce
Environment
Desktop/Web
@Komediruzecki commented on GitHub (May 29, 2021):
Hi, huzibizi,
I managed to reproduce the issue, but this happens only in PouchDB storage, i.e. legacy cloud or local storage, not file system storage.
Since we deprecated legacy cloud storage and local storage, please convert your storage to file system storage or new cloud one if you want.
I highly recommend this as legacy cloud storage is no longer synced, so there is no benefit having it, I'll investigate more why this happens, it could be due to failed sync.
It also happens to me that when I actually refresh the application notes appear again i.e. they are correctly renamed and updated in tree. Can you try refreshing and see if notes perists where they should be? Might be only an sidebar tree view not showing them!
@Komediruzecki commented on GitHub (May 29, 2021):
Hi, huzibizi,
Here I am again, I reproduced the issue on development setup, it seems that notes are overwritten because somehow there are 2 duplicate folders with same name and it fetches notes from first, then fetches it from second, but when updating the storage it overwrites it last with folder with no notes inside.
Anyhow, notes are not deleted.
Please, to restore your notes, just convert that storage where you renamed folders into file system storage (let me know if you need help doing that, but just go to Preferences | Space | Convert into File System Based Storage and convert the notes). Or refresh the application (as described in above comment), notes could reappear in correct places.
This will retrieve all your lost notes and you will be in supported storage space.
@huzibizi commented on GitHub (Jun 3, 2021):
thank you, the notes didnt come back though, maybe cause i deleted the folder to avoid making the same mistake lol
@Komediruzecki commented on GitHub (Jun 3, 2021):
Hi huzibizi,
If you deleted the folder the notes contained in the folder would go to trash, again would not be completely deleted.
But I wonder if maybe they weren't any notes at that time inside folder, so deleting the folder might not trash anything, and later the notes would be hanging somewhere - but I think it would still be possible to get to them.
As for future, the new update of the boost note next will completely discard pouchDB storage and come with new sidebar, so in general this problem would not exist anymore.
I'll close the issue, please reopen if you have anything more to add!