{"action":"created","issue":{"url":"https://api.github.com/repos/bnjbvr/kresus/issues/169","labels_url":"https://api.github.com/repos/bnjbvr/kresus/issues/169/labels{/name}","comments_url":"https://api.github.com/repos/bnjbvr/kresus/issues/169/comments","events_url":"https://api.github.com/repos/bnjbvr/kresus/issues/169/events","html_url":"https://github.com/bnjbvr/kresus/issues/169","id":103545767,"number":169,"title":"Doublon de compte","user":{"login":"lutcheti","id":3308586,"avatar_url":"https://avatars.githubusercontent.com/u/3308586?v=3","gravatar_id":"","url":"https://api.github.com/users/lutcheti","html_url":"https://github.com/lutcheti","followers_url":"https://api.github.com/users/lutcheti/followers","following_url":"https://api.github.com/users/lutcheti/following{/other_user}","gists_url":"https://api.github.com/users/lutcheti/gists{/gist_id}","starred_url":"https://api.github.com/users/lutcheti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lutcheti/subscriptions","organizations_url":"https://api.github.com/users/lutcheti/orgs","repos_url":"https://api.github.com/users/lutcheti/repos","events_url":"https://api.github.com/users/lutcheti/events{/privacy}","received_events_url":"https://api.github.com/users/lutcheti/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/bnjbvr/kresus/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-08-27T16:22:30Z","updated_at":"2015-08-28T12:07:22Z","closed_at":null,"body":"Bravo pour les efforts déjà fournis ;)\r\n\r\nEn demandant la récupération de mes dernières transactions dans le menu configuration (icône avec deux flèches), Kresus a créé une nouvelle instance de chacun de mes comptes au lieu de reconnaître que les comptes existaient déjà dans la DB. Je me retrouve donc avec un doublon pour chaque compte et ce doublon reçoit les nouvelles transactions (mais pas l'ancienne instance).\r\n"},"comment":{"url":"https://api.github.com/repos/bnjbvr/kresus/issues/comments/135752794","html_url":"https://github.com/bnjbvr/kresus/issues/169#issuecomment-135752794","issue_url":"https://api.github.com/repos/bnjbvr/kresus/issues/169","id":135752794,"user":{"login":"lutcheti","id":3308586,"avatar_url":"https://avatars.githubusercontent.com/u/3308586?v=3","gravatar_id":"","url":"https://api.github.com/users/lutcheti","html_url":"https://github.com/lutcheti","followers_url":"https://api.github.com/users/lutcheti/followers","following_url":"https://api.github.com/users/lutcheti/following{/other_user}","gists_url":"https://api.github.com/users/lutcheti/gists{/gist_id}","starred_url":"https://api.github.com/users/lutcheti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lutcheti/subscriptions","organizations_url":"https://api.github.com/users/lutcheti/orgs","repos_url":"https://api.github.com/users/lutcheti/repos","events_url":"https://api.github.com/users/lutcheti/events{/privacy}","received_events_url":"https://api.github.com/users/lutcheti/received_events","type":"User","site_admin":false},"created_at":"2015-08-28T12:07:21Z","updated_at":"2015-08-28T12:07:21Z","body":"Des remarques en vrac:\r\n - à la fin de l'import, Kresus semble essayer de se connecter au compte (sans mot de passe enregistré) et échoue (forcément). C'est peut-être génant si on enchaîne les imports. Le log:\r\n````shell\r\n[2015-08-28 11:55:55:286] info - controllers/all | Importing:\r\naccesses: 2\r\naccounts: 8\r\ncategories: 37\r\noperations: 752\r\nsettings: 0\r\ne\":\"INVALID_PASSWORD\"}\r\n[2015-08-28 11:56:10:474] info - controllers/all | Import finished with success!\r\n[Fri, 28 Aug 2015 11:56:10 GMT] - POST /all/ - 200 - 15189.035 ms -  2\r\n[Fri, 28 Aug 2015 11:56:12 GMT] - GET /all - 200 - 1957.431 ms -  288852\r\n````\r\n- après l'import, si je commence par resynchro tous les comptes (dans Préférences) alors les doublons finissent par avoir exactement les mêmes transactions mais pas le même solde (qui peut différer de 50 euros). "}}