obsidian-citation-plugin icon indicating copy to clipboard operation
obsidian-citation-plugin copied to clipboard

obsidian won't update the note section of pre-existing note after i refreshing database.

Open codingToPerfection opened this issue 1 year ago • 2 comments

Describe the bug

obsidian won't update the note section of pre-existing note after i refreshing database.

I have already checked the updated contents inside .bib file. The newly added notes are inside the .bib file.

In obsidian, I also used 'citations: insert literature note content in the current pane'. It works smoothly.

But, when I use 'citations: refresh citation database'. nothing happens to my pre-existing notes.

To Reproduce

None.

Console output

When I execute 'citations: refresh citation database', nothing happens in the console of obsidian.( i pressed ctrl+shift+i to enter)

Expected behavior

notes get updated.

Screenshots

Platform

  • OS: win 11
  • Obsidian version : latest
  • Plugin version : latest

Additional context nothing.

codingToPerfection avatar Apr 07 '23 05:04 codingToPerfection

Unfortunately, the plugin does not update currently existing notes. That is, if you have a literature note for an entry in obsidian and you change the entry in the bib file, that change will not be reflected in the literature note. There have been many requests for this feature (see #215, #174, #154, #127, #88).

Furthermore, what you expect the refresh citation dabase command to do is not what it actually does. What refreshing database does do, is to make obsidian aware of a new entry in the bib file. For example, you have obsidian open and you add an entry to zotero. With betterbiblatex, zotero will immediately update the bib file for that new entry. However, obsidian will not see this new entry unless you refresh the database.

orionpilot avatar Apr 07 '23 13:04 orionpilot

Unfortunately, the plugin does not update currently existing notes. That is, if you have a literature note for an entry in obsidian and you change the entry in the bib file, that change will not be reflected in the literature note. There have been many requests for this feature (see #215, #174, #154, #127, #88).

Furthermore, what you expect the refresh citation dabase command to do is not what it actually does. What refreshing database does do, is to make obsidian aware of a new entry in the bib file. For example, you have obsidian open and you add an entry to zotero. With betterbiblatex, zotero will immediately update the bib file for that new entry. However, obsidian will not see this new entry unless you refresh the database.

thanks for you ellabarations. Thanks !

codingToPerfection avatar Apr 12 '23 02:04 codingToPerfection