shabegom / obsidian-reference-count

Show Reference Count of Block Refs
65 stars 6 forks source link

Bug - Incorrectly renaming links (duplicating folder names) with absolute paths when renaming files #66

Open dalspok opened 2 years ago

dalspok commented 2 years ago
  1. I have "absolute path in vault" option selected, using wikilinks
  2. With this plugin enabled, when changing a filename, all the links to this filename are changed in incorrect way - folder name is duplicated (once per almost every file rename).

It seems that folder name is incorrectly added once more with each renaming. I tested which plugin could be responsible and it seems to be this plugin. (Bug apperas to be the same with all plugin options on/off, no effect turning off "Display on links" etc)

I am using Obidian 0.14.6. / Block Reference Counter 0.4.3.

Thanks.

keithadams commented 2 years ago

I'm having the same issue.

macOS 12.4 Obsidian Version 0.15.3 (installer 0.14.6) Block Reference Counter 0.4.3

nhan000 commented 2 years ago

I have this issue too!

Hi @shabegom. I think this issue severely affect the usage of Obsidian. Either you fix this issue or put a huge warning in the Readme page warning user about this severe bug. This would cause a lot of confusion on the users part and they will file bug reports to Obsidian as well (which I was doing before thinking of disabling my plugins)

shabegom commented 2 years ago

Hey! That's weird. The plugin doesn't write anything at all. It is reading from the link cache. I don't have time to look into a solution, but I'll add a note to the readme.

user30535 commented 2 years ago

I encountered the same issue.

nhan000 commented 2 years ago

@user30535 it's a known issue. See the readme description. I'd advise against using this plugin due to this bug.