LostPaul / obsidian-folder-notes

Create notes within folders that can be accessed without collapsing the folder, similar to the functionality offered in Notion.
https://lostpaul.github.io/obsidian-folder-notes/
GNU Affero General Public License v3.0
264 stars 11 forks source link

Rename of a single note renames all parents of the same name #81

Closed xarx00 closed 5 months ago

xarx00 commented 5 months ago

When I have a tree of folders of the same name

    Something
        Something
            Something

and I rename the innermost note (e.g. Something to Foo), all parents get renamed too

    Foo
        Foo
            Foo

It doesn't matter whether I rename the note through menu Rename, or by changing its title.

I use Obsidian 1.5.3 on Windows 10, Folder notes plugin 1.7.11. I have set Storage location=In the parent folder.

LostPaul commented 5 months ago

Can you provide a video of the steps to reproduce this? I couldn't get it working.

LostPaul commented 5 months ago

Or provide the steps to reproduce it in a sandbox vault?

xarx00 commented 5 months ago

Unfortunately, I cannot reproduce the exact issue either. Probably it was caused by a combination of plugins. Instead, Obsidian enters an infinite loop. What I did:

  1. I created a new vault
  2. I installed you plugin, and configured it:
    Storage location = In the parent folder
    Automatically create folder notes = true
  3. Then I created the above structucture of folders of the same name with folder notes outside
  4. Then I tried to rename the innermost folder.
  5. Obsidian started looping:
LostPaul commented 5 months ago

Unfortunately, I cannot reproduce the exact issue either. Probably it was caused by a combination of plugins.

Instead, Obsidian enters an infinite loop. What I did:

  1. I created a new vault

  2. I installed you plugin, and configured it:


Storage location = In the parent folder

Automatically create folder notes = true
  1. Then I created the above structucture of folders of the same name with folder notes outside

  2. Then I tried to rename the innermost folder.

  3. Obsidian started looping:

I also found that while trying to reproduce your bug report and it'll be fixed with the next release.