mirror of
https://github.com/zotero/zotero.git
synced 2026-09-28 01:31:40 +00:00
Fix ghost relations to erased items reappearing after sync. The dataserver ensures that related relations are bidirectional. If a related item is erased, syncing would first upload the update to the remaining related item (where the relation is removed), followed by the deletions. While handling update upload, the dataserver would return the old, should-be-removed, "dc:relation" entry for that item because it does not know that the other item is erased. To handle this, swap the order of operations during sync: upload deletion first and then upload updates after. Then, when the dataserver handles the update of the non-erased item, there is no related item to enforce bidirectional relations to. Fixes: #5481 |
||
|---|---|---|
| .. | ||
| components | ||
| content | ||
| resource | ||
| tests | ||
| chrome.manifest | ||
| runtests.sh | ||