Broken links in relative path mode on move/rename

Yeah, this just bit me. I reorganized my entire vault, and now almost none of my links are valid anymore.

I would expect that moves/renames would update references, but it does not. This becomes very problematic when consolidating & summarizing notes. Now a significant amount of effort has to be put into listing out all reference points up manually updating them.

That’s a LOT of friction, and a LOT of error.

1 Like

I’m on 0.12.10 and can confirm that this bug still exists.
It’s a big problem

2 Likes

Unfortunately, I haven’t been using Obsidian for a while due to this bug hasn’t been fixed for so long. This bug report post has been listed as a high priority and in the discord server I’ve mentioned this bug a couple of times but it doesn’t seem to be that important among other things. :frowning_face:

My ideal workflow requires me to move things a lot AND I would like my files to be accessible and fully functional in other markdown editors – this was the reason why Obsidian was so attractive at the beginning, at least for me. But as long as this bug doesn’t get fixed, it kind of is a joke of me thinking that my data is really portable if I keep using Obsidian.

3 Likes

Actually, a few days ago I renamed the tag high priority to important. Because I believe high-priorty gave the impression that things were going to be worked out right away, which as you have seen is not the case.

This problem will require a substantial amount of work, this is more a feature request than a bug to be squashed.
We recognize the importance of fixing/implementing this but it hasn’t been prioritized.

1 Like

Thanks for the update and being upfront about the priority vs importance of this bug/feature!

I love Obsidian and appreciate everything that it and its plugins have made possible! But this is a deal breaker for me personally. That said - I’ll keep an eye on this and will gladly return once this has been properly addressed.

One thing – it would be nice to make it clear in the setting panel (options > file links) within the app. I would argue it is definitely a bug instead of a feature request as long as it has not been made clear, and users would think this renaming should be the default behavior when they are deciding which linking mode to go with. I am pretty sure there are a lot of people who don’t even notice this “bug” because within Obsidian the linking appears to still work (I believe through Obsidian’s own internal metadata), even without the actual data been fixed. This is a huge “bug” (yes, it is) because your data isn’t really portable as Obsidian advertises itself.

Edits: fixed typos.

2 Likes

In a sense, I agree with you. The thing about bug vs feature request from a dev POV is because this is not a corner case to be fixed, this is a whole new system to be implemented. I understand from the user POV this is a bug.

I would go as far removing relative path mode until this is done or adding warning as you suggested.

Yes I think a warning would be good enough. Removal of relative path mode might break other people’s workflow and I wouldn’t want to see that either.

I totally agree with and recognize that it might require a substantial amount of work to implement that properly. But when it’s done it really would be awesome, because if it is paired with markdown link mode, it makes it super easy for a lot more markdown editors to play nicely with the files we create using Obsidian.

1 Like

Hmm, where are we on this feature ? I make a test today and seeing that moving files to sub-level will auto change the relative path, but then moving up to parent-level will not. HOWEVER tho, in obsidian it still show the correct attachment in preview mode, even the link is now broken. This is pretty dangerous behavior as it causes data corruption and it’s very annoying to recover it. Any comment ?

2 Likes

I just want to confirm that this bug is still present - moving a file’s location when it has a relative link within results in no change in the links within the document itself. (Links TO the document are updated, just not WITHIN the document.) I am using v0.12.15. Thank you for your attention to this!

3 Likes

I’m also waiting for a fix.
unfortunately the developers do not consider this a serious problem.

besides, only the relative path is the “FUTURE-PROOF FORMAT” (as in the program description)
because it is supported by other applications(Typora, etc)

2 Likes

Everyone may also have a look at my previous bug report.

1 Like

Is there any plan to at least add the warning inside Obsidian’s Settings > Files & Links > New link format?

I think this is a really dangerous setting if people are not inspecting the behaviors carefully, particularly because that those incorrect links (corrupted data) can still be interpreted correctly by Obsidian itself but obviously not other editors. This means that people might not even notice their data has been/is/will be corrupted, for a workflow that seems to work well within and only within Obsidian itself.

I acknowledge that this might not be fixed (or implemented, per dev’s POV) in the near future. But I feel the lack of warning when the devs are aware of the issue is inappropriate, especially when Obsidian bills itself as future-proof.

Please let me know if I’m missing anything, and I apologize if the warning is mentioned somewhere, or if the issue has been resolved.

5 Likes

Still,no solution…
it really bugs me.

1 Like

Hi team, just broke links on about 700 files because there was no indication that this would happen. A fix would be really nice :slight_smile:

EDIT: huh! looks like closing & relaunching Obsidian updated all the links, actually!

1 Like

Not a fix, but you can use this tool to find broken links and correct them manually, if there aren’t many:

1 Like

Any news on this bug? With v0.15.9 the bug is still there. Maybe someone can explain me why this bug is so difficult to fix!?

2 Likes

Just wanted to confirm that this problem still persists in 0.15.9. As others have pointed out, a fix to this is essential to make Obsidian notes truly portable to any other markdown-based system.

2 Likes

I recently reorganized my Obsidian folder without knowing about this bug and disabled dozens of internal links.
You seem to have let this bug go unchecked for 2 years, do you have any plans for improvement?
I use Obsidian to create Markdown Wiki’s and the relative linking feature is a big reason why I use this tool.

1 Like

Hope this feature/ bug is implemented/ fixed soon. Its been more than 2 years since this was reported (now we are at v1.1.15) and not sure is this even on the list of things to be implemented/ fixed.

As a interim solution it would be great if Obsidian would show some sort of warning which indicated that when using relative path it is possible for the links to break sometimes.

3 Likes

I was wondering if there was an update on plans to fix this bug? Thanks!

3 Likes