Boostnote.next: Can't rename or delete folder if name starts with "["-Character

Created on 28 Dec 2020  路  2Comments  路  Source: BoostIO/BoostNote.next

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

Most helpful comment

@Komediruzecki

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

All 2 comments

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

@Komediruzecki

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

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Rokt33r picture Rokt33r  路  3Comments

theoden8 picture theoden8  路  3Comments

hkunzhe picture hkunzhe  路  3Comments

btstw picture btstw  路  4Comments

jcarr98 picture jcarr98  路  5Comments