PKM-er / obsidian-zotlit

A third-party project that aims to facilitate the integration between Obsidian.md and Zotero, by providing a set of community plugins for both Obsidian and Zotero.
https://zotlit.aidenlx.top
MIT License
583 stars 25 forks source link

New reference added in Zotero isn't visible in Obsidian unless Obsidian is restarted #314

Open abovetheborg opened 4 months ago

abovetheborg commented 4 months ago

Zotero: 7.0.0-beta.58+2665090aa Obsidian: 1.5.3 Obsidian Notes for Zotero: 1.0.1 ZotLit: 1.1.4

Problem: Newly added document in Zotero cannot be found by Obsidian when using the command "Obsidian Action -> Create Litterature Note()"

How to reproduce:

  1. Go to a webpage: (e.g.:https://quality-one.com/pfmea/)
  2. Use the "Save to Zotero" firefox plugin to import the page to Zotero
  3. Create annotation in the saved snapshot
  4. Execute Right mouse click -> Obsidian Action -> Create Litterature Note()
  5. Open Link
  6. UI reports Item not found image

Logs attached

obsidian.md-1708290486221.log

Mitigation: Quitting and restarting Obsidian resolved the problem. Zotero doesn't need to be restarted.

abovetheborg commented 4 months ago

This error can also be reproduced without using hte "Save to Zotero" plugin.

asan-emirsaleh commented 4 months ago

Did you try selecting command "Zotlit: Refresh Zotero data" in command palette of Obsidian available by hotkey Ctrl+p?