Ghost related items

Report ID: 213314908

In my related items list for some of my items, it shows that I have more related items than I do.

I can reproduce it by using Create Book Section on a Book. The newly created item reports a number of related items greater than that it actually shows (see image 1). The new Book Section is added to the original Book's related items and the number increments, as expected (see image 2). However, when that related item is deleted, though the related item is removed from the list, the number doesn't decrement, even when removed from Trash (see image 3).

This occurs regardless of which method of emptying Trash is used (whether using Empty Trash or Delete Permanently on the item). Additionally, the related item displays even when the item is in the Trash (see https://github.com/zotero/zotero/issues/1780).

Seemingly similar issues:
https://forums.zotero.org/discussion/115411/zotero-7-beta-deleting-a-sub-collection-leaves-ghost-items
https://forums.zotero.org/discussion/111552/zotero-7-beta-merging-creates-a-self-related-item

Image 1 (screenshot of the Related tab of the new Book Section: Example 1) shows only the item for the Book it was created from, but reports 7 related items:
https://s3.amazonaws.com/zotero.org/images/forums/u17154039/zh9l5s22fk26093mo2ds.png

Image 2 (screenshot of the Related tab of the original Book: Blackstone's Commentaries) shows only the 5 existing items as related, but reports 12:
https://s3.amazonaws.com/zotero.org/images/forums/u17154039/4uey1qlyl3663f0j8u0r.png

Image 3 (screenshot of the Related tab of the original Book: Blackstone's Commentaries) shows only the 4 existing items (the 5th, Example 1, having been permanently deleted), but still reports 12:
https://s3.amazonaws.com/zotero.org/images/forums/u17154039/yi2isv8dgoj50j6vp7bh.png

Sign In or Register to comment.