[GH-ISSUE #747] Can't rename or delete folder if name starts with "["-Character #388

Closed
opened 2026-03-03 00:20:47 +03:00 by kerem · 3 comments
Owner

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

Originally assigned to: @Komediruzecki on GitHub.

Current behavior

  1. Create a folder and let the name start with "["-Character
  2. Try to rename folder to anything else. It doesn't matter if you try to remove the "[" during this renaming or not.
  3. Observation: Folder name will remain the same
  4. Try to delete Folder
  5. Observation: Folder will not be deleted

Bug does not occur if the "["-Character is in other positions of the string.
I have not tried with other special characters.

Note: In older versions the Folder disappeared until restarting boost note

Expected behavior

The rename should be performed :-)
The delete should be performed :-)

Steps to reproduce

See top of bug report

Environment

Desktop/Web

  • Boost Note.next version: 0.12.3
  • OS version and name: Windows 10
Originally created by @KarlaZinreich on GitHub (Dec 28, 2020). Original GitHub issue: https://github.com/BoostIO/BoostNote-App/issues/747 Originally assigned to: @Komediruzecki on GitHub. # Current behavior 1. Create a folder and let the name start with "["-Character 2. Try to rename folder to anything else. It doesn't matter if you try to remove the "[" during this renaming or not. 3. Observation: Folder name will remain the same 4. Try to delete Folder 5. Observation: Folder will not be deleted Bug does not occur if the "["-Character is in other positions of the string. I have not tried with other special characters. Note: In older versions the Folder disappeared until restarting boost note # Expected behavior The rename should be performed :-) The delete should be performed :-) # Steps to reproduce See top of bug report # Environment ## Desktop/Web - Boost Note.next version: 0.12.3 - OS version and name: Windows 10
kerem closed this issue 2026-03-03 00:20:47 +03:00
Author
Owner

@Komediruzecki commented on GitHub (Dec 28, 2020):

Hi,

I replicated the bug, the escape sequence was invalid and the File System database was not using the escape regexp.

It should work when this is merged: #748

<!-- gh-comment-id:751781202 --> @Komediruzecki commented on GitHub (Dec 28, 2020): Hi, I replicated the bug, the escape sequence was invalid and the File System database was not using the escape regexp. It should work when this is merged: #748
Author
Owner

@KarlaZinreich commented on GitHub (Dec 28, 2020):

@Komediruzecki

Hi,
thanks for the quick update on this issue and the solution! :-)
Merry X-Mas

<!-- gh-comment-id:751803626 --> @KarlaZinreich commented on GitHub (Dec 28, 2020): @Komediruzecki Hi, thanks for the quick update on this issue and the solution! :-) Merry X-Mas
Author
Owner

@Komediruzecki commented on GitHub (Jan 5, 2021):

I will close this since the PR is merged. Thank you for your issue report!

<!-- gh-comment-id:754416279 --> @Komediruzecki commented on GitHub (Jan 5, 2021): I will close this since the PR is merged. Thank you for your issue report!
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#388
No description provided.