{"action":"created","issue":{"url":"https://api.github.com/repos/keepassxreboot/keepassxc/issues/965","repository_url":"https://api.github.com/repos/keepassxreboot/keepassxc","labels_url":"https://api.github.com/repos/keepassxreboot/keepassxc/issues/965/labels{/name}","comments_url":"https://api.github.com/repos/keepassxreboot/keepassxc/issues/965/comments","events_url":"https://api.github.com/repos/keepassxreboot/keepassxc/issues/965/events","html_url":"https://github.com/keepassxreboot/keepassxc/issues/965","id":258705032,"number":965,"title":"Merging erases entry history","user":{"login":"Beartis","id":437088,"avatar_url":"https://avatars1.githubusercontent.com/u/437088?v=4","gravatar_id":"","url":"https://api.github.com/users/Beartis","html_url":"https://github.com/Beartis","followers_url":"https://api.github.com/users/Beartis/followers","following_url":"https://api.github.com/users/Beartis/following{/other_user}","gists_url":"https://api.github.com/users/Beartis/gists{/gist_id}","starred_url":"https://api.github.com/users/Beartis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Beartis/subscriptions","organizations_url":"https://api.github.com/users/Beartis/orgs","repos_url":"https://api.github.com/users/Beartis/repos","events_url":"https://api.github.com/users/Beartis/events{/privacy}","received_events_url":"https://api.github.com/users/Beartis/received_events","type":"User","site_admin":false},"labels":[{"id":333293071,"url":"https://api.github.com/repos/keepassxreboot/keepassxc/labels/bug","name":"bug","color":"e0453a","default":true},{"id":454620711,"url":"https://api.github.com/repos/keepassxreboot/keepassxc/labels/high%20priority","name":"high priority","color":"d93f0b","default":false}],"state":"open","locked":false,"assignee":{"login":"droidmonkey","id":2809491,"avatar_url":"https://avatars2.githubusercontent.com/u/2809491?v=4","gravatar_id":"","url":"https://api.github.com/users/droidmonkey","html_url":"https://github.com/droidmonkey","followers_url":"https://api.github.com/users/droidmonkey/followers","following_url":"https://api.github.com/users/droidmonkey/following{/other_user}","gists_url":"https://api.github.com/users/droidmonkey/gists{/gist_id}","starred_url":"https://api.github.com/users/droidmonkey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/droidmonkey/subscriptions","organizations_url":"https://api.github.com/users/droidmonkey/orgs","repos_url":"https://api.github.com/users/droidmonkey/repos","events_url":"https://api.github.com/users/droidmonkey/events{/privacy}","received_events_url":"https://api.github.com/users/droidmonkey/received_events","type":"User","site_admin":false},"assignees":[{"login":"droidmonkey","id":2809491,"avatar_url":"https://avatars2.githubusercontent.com/u/2809491?v=4","gravatar_id":"","url":"https://api.github.com/users/droidmonkey","html_url":"https://github.com/droidmonkey","followers_url":"https://api.github.com/users/droidmonkey/followers","following_url":"https://api.github.com/users/droidmonkey/following{/other_user}","gists_url":"https://api.github.com/users/droidmonkey/gists{/gist_id}","starred_url":"https://api.github.com/users/droidmonkey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/droidmonkey/subscriptions","organizations_url":"https://api.github.com/users/droidmonkey/orgs","repos_url":"https://api.github.com/users/droidmonkey/repos","events_url":"https://api.github.com/users/droidmonkey/events{/privacy}","received_events_url":"https://api.github.com/users/droidmonkey/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/keepassxreboot/keepassxc/milestones/9","html_url":"https://github.com/keepassxreboot/keepassxc/milestone/9","labels_url":"https://api.github.com/repos/keepassxreboot/keepassxc/milestones/9/labels","id":2551255,"number":9,"title":"v2.2.1","description":"Minor release to fix issues not initially closed in v2.2.0","creator":{"login":"droidmonkey","id":2809491,"avatar_url":"https://avatars2.githubusercontent.com/u/2809491?v=4","gravatar_id":"","url":"https://api.github.com/users/droidmonkey","html_url":"https://github.com/droidmonkey","followers_url":"https://api.github.com/users/droidmonkey/followers","following_url":"https://api.github.com/users/droidmonkey/following{/other_user}","gists_url":"https://api.github.com/users/droidmonkey/gists{/gist_id}","starred_url":"https://api.github.com/users/droidmonkey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/droidmonkey/subscriptions","organizations_url":"https://api.github.com/users/droidmonkey/orgs","repos_url":"https://api.github.com/users/droidmonkey/repos","events_url":"https://api.github.com/users/droidmonkey/events{/privacy}","received_events_url":"https://api.github.com/users/droidmonkey/received_events","type":"User","site_admin":false},"open_issues":28,"closed_issues":36,"state":"open","created_at":"2017-05-30T18:19:21Z","updated_at":"2017-09-19T21:41:23Z","due_on":null,"closed_at":null},"comments":7,"created_at":"2017-09-19T06:00:06Z","updated_at":"2017-09-19T23:19:15Z","closed_at":null,"author_association":"NONE","body":"Upon merging databases the affected entries lose all history.\r\n\r\n## Expected Behavior\r\nMerged history or history of the current database including an record of the merged state.\r\n\r\n## Current Behavior\r\nComplete loss of all history for merged entries.\r\n\r\n## Possible Solution\r\nPreserve current history, restore it after merging the entry and record the merge.\r\n\r\n## Steps to Reproduce (for bugs)\r\n1. Duplicate database.\r\n2. Edit entry in database A.\r\n3. Edit entry in database B.\r\n4. Merge B into A.\r\n5. View the history of the merged entry.\r\n\r\n## Context\r\nTrying to resolve out of sync databases. The usefulness of the merge is severely reduced precluding any review of what may or may not have been merged and further offset by the resulting data loss.\r\n\r\n## Debug Info\r\n\r\n### Originally encountered with the official snap package:\r\n\r\nKeePassXC - Version 2.2.0\r\nRevision: 9a7e6850d6b79c47c2d46d99fdaf433c2ff13716\r\n\r\nLibraries:\r\n- Qt 5.7.1\r\n- libgcrypt 1.7.6-beta\r\n\r\nOperating system: Ubuntu Core 16\r\nCPU architecture: x86_64\r\nKernel: linux 4.10.0-33-generic\r\n\r\nEnabled extensions:\r\n- KeePassHTTP\r\n- Auto-Type\r\n- YubiKey\r\n\r\n### Reproduced with the latest 'develop' revision:\r\n\r\nKeePassXC - Version 2.2.0\r\nRevision: 6e1fd0694f1013de83fa7cfcf62c527a128a39be\r\n\r\nLibraries:\r\n- Qt 5.5.1\r\n- libgcrypt 1.6.5\r\n\r\nOperating system: Ubuntu 16.04.2 LTS\r\nCPU architecture: x86_64\r\nKernel: linux 4.10.0-33-generic\r\n\r\nEnabled extensions:\r\n- Auto-Type"},"comment":{"url":"https://api.github.com/repos/keepassxreboot/keepassxc/issues/comments/330700654","html_url":"https://github.com/keepassxreboot/keepassxc/issues/965#issuecomment-330700654","issue_url":"https://api.github.com/repos/keepassxreboot/keepassxc/issues/965","id":330700654,"user":{"login":"monomon","id":789849,"avatar_url":"https://avatars1.githubusercontent.com/u/789849?v=4","gravatar_id":"","url":"https://api.github.com/users/monomon","html_url":"https://github.com/monomon","followers_url":"https://api.github.com/users/monomon/followers","following_url":"https://api.github.com/users/monomon/following{/other_user}","gists_url":"https://api.github.com/users/monomon/gists{/gist_id}","starred_url":"https://api.github.com/users/monomon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/monomon/subscriptions","organizations_url":"https://api.github.com/users/monomon/orgs","repos_url":"https://api.github.com/users/monomon/repos","events_url":"https://api.github.com/users/monomon/events{/privacy}","received_events_url":"https://api.github.com/users/monomon/received_events","type":"User","site_admin":false},"created_at":"2017-09-19T23:19:15Z","updated_at":"2017-09-19T23:19:15Z","author_association":"NONE","body":"Just to chip in on this, in the original implementation in keepassx the \"Keep both\" option is intended to preserve a copy of the older entry, marked appropriately with a custom attribute (and renamed, don't remember).\r\n\r\nAlso, per group (cascading) merge strategy does provide more flexibility, though more complex to use."}}
{"actor":{"display_login":"monomon"}}