diegodlh / zotero-cita

Cita: a Wikidata addon for Zotero with citations metadata support
GNU General Public License v3.0
233 stars 12 forks source link

DOI, QID and other unique identifiers do not update in Cita pane when changed in Zotero's info pane #292

Closed diegodlh closed 2 months ago

diegodlh commented 2 months ago

Describe the bug If DOI, QID or other unique identifiers are changed in Zotero's Info pane for an item, their values are not correspondingly updated in the Cita pane below. The item has to be unselected and selected again for the change to show in the Cita pane.

To Reproduce

  1. Change the DOI of an item in Zotero.

Expected behavior The new DOI should show in the corresponding DOI field in the Cita pane.

Environment:

Additional context This did not affect previous versions of Zotero because the Info and Cita pane would not show at the same time (they were separate tabs before).

Note that it does work the other way round. That is, if unique identifier is changed in the Cita pane, it gets immediately updated in the Info pane.

Dominic-DallOsto commented 2 months ago

Hmm, yeah. More specifically, I get the following:

  1. Select an item
  2. Add a DOI in the Info pane, it shows up immediately in the Cita pane
  3. Delete it in the Info pane, it also disappears immediately from the Cita pane
  4. Add a DOI in the Cita pane, it shows up immediately in the Info pane
  5. Delete the DOI in the Cita pane, it disappears immediately from the Info pane
  6. Now add a DOI in the Info pane, it doesn't show up in the Cita pane

I don't see any errors in the console though

github-actions[bot] commented 2 months ago

:rocket: This ticket has been resolved in v1.0.0-beta.1. See Release 1.0.0-beta.1 for release notes.