Tag and related item counters not updating

36 views
Skip to first unread message

Marin

unread,
Dec 9, 2025, 12:59:12 AM12/9/25
to zotero-dev
Hi,
I'm very new to writing code for Zotero, so I wonder if I am doing a silly mistake.
I have the following code (tested using a fresh Zotero dabase on Zotero 7.0.30)
```
let item = Zotero.Items.get(1);
item.addTag("test");
item.save();
```
The tag is created fine, but the panel still shows 0 tags.
Same is true for `addRelatedItem();` (see screenshot below)

Is this expected? Or am I doing a mistake when creating/saving the tag?
2025-12-08_10-17.png

XY Wong

unread,
Dec 12, 2025, 4:54:28 AM12/12/25
to zotero-dev
Thanks for the report. We'll investigate.

Btw, please always use the latest beta (https://www.zotero.org/support/beta_builds) for plugin development.

XY Wong

unread,
Dec 19, 2025, 5:23:51 AM12/19/25
to zotero-dev
This is already fixed at least in the latest beta. Please let us know if you can still reproduce on the latest beta.
Reply all
Reply to author
Forward
0 new messages