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

Dendron: Move Note almost never updates links in other vaults in multi-vault #3739

Open
1 of 7 tasks
jeep opened this issue Oct 31, 2022 · 1 comment
Open
1 of 7 tasks
Labels
scope.workspace Workspace related functionality (i.e. intellisense, vault, workspace) type.bug Something isn't working

Comments

@jeep
Copy link

jeep commented Oct 31, 2022

Please select the area your bug applies to. (Multiple selections are Possible. You can leave blank if you're not sure.)

  • Workspace. VSCode workspace, vaults, Intellisense/autocomplete, Dendron settings
  • Lookup. Dendron's Lookup Command
  • Views. Dendron Preview, Tree View, Side Panels in the UI
  • Schema. Dendron Schemas
  • Pod. Data import from / export to Dendron
  • Publish. External Site Publish
  • Markdown. Markdown features, such as syntax support and features

Describe the bug

When I move a note with a link in another vault, the link does not get updated.

To Reproduce

Steps to reproduce the behavior:

  1. In a multi-vault set up with Vault1 and Vault2, create a journal note in Vault1, I will call this "today"
  2. In "today" add this content:
* [[this-is-another-note]]
  1. Run Dendron: Goto Note on this link to create a link. It should prompt you for a vault, select Vault2
  2. Notice there is a backlink
  3. While you are in "this-is-another-note" run "Dendron: Move Note" and add a level to the hierarchy "top.this-is-another-note"
  4. Notice the backlink is missing
  5. Navigate to Vault1 and open "today"
  6. Notice the link is still to the old note location
  7. Execute Dendron: Reload Index
  8. Notice no change
  9. Execute Developer: Reload Window
  10. Notice no change
  11. Be sad that your link is gone

Expected behavior

When a note is moved, all links to the note are updated to the new location

Screenshots

If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information)

  • OS: [e.g. iOS]
  • Browser (if with published websites; include version): [e.g. chrome, safari]
  • Versions (all that apply to bug):
    • Dendron Extension:
    • VS Code version:
    • Dendron CLI:

Additional context

Add any other context about the problem here.

Dendron Log file

Please attach the output of > Dendron:Dev: Open Logs here

@github-actions github-actions bot added scope.workspace Workspace related functionality (i.e. intellisense, vault, workspace) status.triage-needed type.bug Something isn't working labels Oct 31, 2022
@hikchoi
Copy link
Contributor

hikchoi commented Nov 1, 2022

Thank you for the report. Sorry about the inconvenience. Will get it fixed soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scope.workspace Workspace related functionality (i.e. intellisense, vault, workspace) type.bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants