If there same file, link use path. when rename folder name, the link not update

Steps to reproduce

1、create a new file name ‘mynote’ in folderA
2、create another new file name ‘mynote’ in folderB
3、create a new file name ‘temp’ and link to ‘folderA/mynote’
4、rename ‘folderA’ to ‘folderC’
5、link of ‘temp’ is broken (link is alse ‘folderA/mynote’)

Expected result

temp link change to ‘folderC/mynote’

Actual result

link is alse ‘folderA/mynote’

Environment

  • Operating system: macOS 10.15.3
  • Obsidian version: 0.7.3

Additional information

if there is same filename, link will include path.
if there is not same filename, link just use filename.
this will not ensure that the link is correct. may be all links include path, and if rename filename or foldername, update all links.

please search for related bugs before posting.

A post was merged into an existing topic: References not updated when moving/adding files to folders