Skip to content

Conversation

abaevbog
Copy link
Contributor

Related items have been treated as bidirectional after fbaa602. This means that if item A is one of related items for item B but not the other way around, item B would still be included in the list of related items for item A.

This caused sync issue when one of two related items was deleted. Modifications to the non-deleted item are synced first, followed by the deletion.
The dataserver would return the relation to the item that was about to be deleted after modification of the non-deleted item is handled. This would trick Zotero on the client side into believing that the relation to the deleted item still existed.

More context: zotero/zotero#5486

Related items have been treated as bidirectional after zotero@fbaa602.
This means that if item A is one of related items for item B but not the other way around,
item B would still be included in the list of related items for item A.

This caused sync issue when one of two related items was deleted.
Modifications to the non-deleted item are synced first,
followed by the deletion.
The dataserver would return the relation to the item that was about
to be deleted after modification of the non-deleted item is handled.
This would trick Zotero on the client side into believing that
the relation to the deleted item still existed.

More context: zotero/zotero#5486
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant