Zotero 7 Beta: Merging creates a self-related item
Steps to reproduce:
1) Create Journal Article item 1 with title "Test1"
2) Create Journal Article item 2 with title "Test2"
3) From "Test2", add Related item "Test1"
4) Select both items in the items list
5) Right-click -> Merge Items
6) Select the first one: "Test1"
-> It creates a self-related merged item.
I am not sure if the order is important.
I ended up having some ghost Related items after merging and emptying the Bin, which is probably related to the bug described above:
https://s3.amazonaws.com/zotero.org/images/forums/u265723/1673fr2mu7ur2nb0az3q.png
Windows 10
Zotero 7.0.0-beta.57+3acef799f (64-bit)
1) Create Journal Article item 1 with title "Test1"
2) Create Journal Article item 2 with title "Test2"
3) From "Test2", add Related item "Test1"
4) Select both items in the items list
5) Right-click -> Merge Items
6) Select the first one: "Test1"
-> It creates a self-related merged item.
I am not sure if the order is important.
I ended up having some ghost Related items after merging and emptying the Bin, which is probably related to the bug described above:
https://s3.amazonaws.com/zotero.org/images/forums/u265723/1673fr2mu7ur2nb0az3q.png
Windows 10
Zotero 7.0.0-beta.57+3acef799f (64-bit)
0) Disable the automatic sync from the settings and restart Zotero.
1) Create Journal Article item 1 with title "Test1"
2) Create Journal Article item 2 with title "Test2"
3) From "Test2", add Related item "Test1"
3S) Sync
4) Select both items in the items list
5) Right-click -> Merge Items
6) Select the first one: "Test1"
-> This leaves one item "Test1" related to itself "Test1":
https://s3.amazonaws.com/zotero.org/images/forums/u265723/69c2llf7pu5nwgem17ut.png
6S) Sync
-> Test 2 (in the Bin) appears in the related items:
https://s3.amazonaws.com/zotero.org/images/forums/u265723/9bw7bgcr409srh63yps9.png
7) Empty the Bin
-> Test 1 is only related to itself:
https://s3.amazonaws.com/zotero.org/images/forums/u265723/ff1wry51weu39sqtimln.png
7S) Sync
-> The ghost related item appears:
https://s3.amazonaws.com/zotero.org/images/forums/u265723/gw3beto5z340bq90gpa1.png
This bug may be related to this other bug:
https://github.com/zotero/zotero/issues/1780
Windows 10
Zotero 7.0.10-beta.3+56ae6d979 (64-bit)