Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Links break when renaming a file #324

Open
3 of 7 tasks
krolloc1 opened this issue Dec 8, 2023 · 1 comment
Open
3 of 7 tasks

[Bug]: Links break when renaming a file #324

krolloc1 opened this issue Dec 8, 2023 · 1 comment
Assignees
Labels
Bug Something is not working and will need to be fixed.

Comments

@krolloc1
Copy link

krolloc1 commented Dec 8, 2023

Check for existing bug reports before submitting.

  • I searched for existing Bug Reports and found no similar reports.

Expected Behavior

Rename a element and all elements linked to it should update their links

Current behaviour

Rename an element, links get broken in other linked elements. The page then doesn't render.

Reproduction

Rename an element, in the case and adventure element. Linked sessions don't render afterwards.

Which Operating Systems are you using?

  • Android
  • iPhone/iPad
  • Linux
  • macOS
  • Windows

Obsidian Version Check

1.4.16

Plugin Version

4.1.12

Confirmation

  • I have disabled all other plugins and the issue still persists.

Possible solution

No response

@krolloc1 krolloc1 added the Bug Something is not working and will need to be fixed. label Dec 8, 2023
@carlonicora
Copy link
Owner

Hi @krolloc1

I have noticed the issue you are reporting and I have already dug deeper into the it.

TL;DR

When obsidian sends a message that a file is updated, I update the links in the rest of the files, but they are being updated by obsidian themselves, so the two updates clash and the data loses some bits.

Solution

Migrate from using the file path as identifier for the element to a uuid based.

Challenges

Time

Priority

High

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something is not working and will need to be fixed.
Projects
None yet
Development

No branches or pull requests

2 participants