-
Notifications
You must be signed in to change notification settings - Fork 128
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
links breaking after adding a new note via ZkNew #236
Comments
Hum that's really weird. Would you mind giving detailed steps to reproduce this issue? Which |
I made a repo illustrating it: https://github.com/nathanbraun/zk-test I started out with 3 notes ( Then I added a note (calling I added that note in the My zk version is: zk HEAD-68e6b70. I just installed zk-nvim a few days ago, and believe that's the latest version too. Note I am using it with vimwiki + a custom template, different file extension etc. |
Thank you, I can reproduce the problem. The issue happens with |
@nathanbraun #237 (branch |
Just tried it and it's working for me! Thank you! |
Closed, but on second thought will let you close it when it's merged. Looked good though |
Not sure if this is an zk-nvim or zk issue, but...
On initial db creation (if I delete notebook.db, then do zk index) all the links work fine. I can look at it in my db GUI and everything looks good.
However, if I add a new note using
:ZkNew
, all the values oftarget_id
in the links table of notebook.db get updated to whatever the new note's ID is.Everything goes back to working if I delete notebook.db then regenerate it, but that's obviously tedious to do. Note adding a link seems to work fine, it's just creating a new note that is causing issues.
The text was updated successfully, but these errors were encountered: