You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mgeramb
changed the title
Deleting Sync KeeShare Groups and recreate them, deletes all entries in the original db
Deleting Groups with active KeeShare sync configuration and recreate of them, deletes all entries in the original db
Jan 18, 2022
@droidmonkey :
I'am not sure if this is exactly the same issue descripted in #6477, Maybe the technical reason in the background is the same, but I not read anything about deleting the whole shared group. This was the reason for me to provide this information. If you know that this has the same technical background, you can close this issue.
My comment in #6477 is another one. This is only related to the current 2.7 beta version and it seems that it has an other technical reason.
Yes it's the same technical reason, but your description and recreate steps are really good. The reason any of this happens is because when you delete an object from your database, a deleted object uuid is stored forever in the kdbx backend for merging purposes. The problem arises with keyshare because you reintroduce an entry with the same uuid as the one you deleted, the merge algorithm says it needs to be deleted.
The fix I have in the pipeline is to give entries new uuids if they are moved outside the share group. Basically treat the share group as an internal database. Right now the databases essentially get flattened into each other which causes these problems.
Steps to reproduce:
Current Result:
The "Test" entry will not be shown in the Group "Sync Shared"
If you open the DB "Shared.kdbx" the "Test" entry is also missing there.
Expected Result:
The "Test" entry should be shown in the group "Sync Shared" and in the "Shared" database
The text was updated successfully, but these errors were encountered: