{"action":"created","issue":{"url":"https://api.github.com/repos/GothenburgBitFactory/taskwarrior/issues/1416","repository_url":"https://api.github.com/repos/GothenburgBitFactory/taskwarrior","labels_url":"https://api.github.com/repos/GothenburgBitFactory/taskwarrior/issues/1416/labels{/name}","comments_url":"https://api.github.com/repos/GothenburgBitFactory/taskwarrior/issues/1416/comments","events_url":"https://api.github.com/repos/GothenburgBitFactory/taskwarrior/issues/1416/events","html_url":"https://github.com/GothenburgBitFactory/taskwarrior/issues/1416","id":296996979,"number":1416,"title":"[TW-1389] tw will import same UUID n-times if part of same import","user":{"login":"taskwarrior","id":146045,"avatar_url":"https://avatars0.githubusercontent.com/u/146045?v=4","gravatar_id":"","url":"https://api.github.com/users/taskwarrior","html_url":"https://github.com/taskwarrior","followers_url":"https://api.github.com/users/taskwarrior/followers","following_url":"https://api.github.com/users/taskwarrior/following{/other_user}","gists_url":"https://api.github.com/users/taskwarrior/gists{/gist_id}","starred_url":"https://api.github.com/users/taskwarrior/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taskwarrior/subscriptions","organizations_url":"https://api.github.com/users/taskwarrior/orgs","repos_url":"https://api.github.com/users/taskwarrior/repos","events_url":"https://api.github.com/users/taskwarrior/events{/privacy}","received_events_url":"https://api.github.com/users/taskwarrior/received_events","type":"User","site_admin":false},"labels":[{"id":825679217,"url":"https://api.github.com/repos/GothenburgBitFactory/taskwarrior/labels/bug","name":"bug","color":"d73a4a","default":true},{"id":834577447,"url":"https://api.github.com/repos/GothenburgBitFactory/taskwarrior/labels/fixed","name":"fixed","color":"ededed","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/GothenburgBitFactory/taskwarrior/milestones/23","html_url":"https://github.com/GothenburgBitFactory/taskwarrior/milestone/23","labels_url":"https://api.github.com/repos/GothenburgBitFactory/taskwarrior/milestones/23/labels","id":3107863,"number":23,"title":"2.4.5","description":null,"creator":{"login":"taskwarrior","id":146045,"avatar_url":"https://avatars0.githubusercontent.com/u/146045?v=4","gravatar_id":"","url":"https://api.github.com/users/taskwarrior","html_url":"https://github.com/taskwarrior","followers_url":"https://api.github.com/users/taskwarrior/followers","following_url":"https://api.github.com/users/taskwarrior/following{/other_user}","gists_url":"https://api.github.com/users/taskwarrior/gists{/gist_id}","starred_url":"https://api.github.com/users/taskwarrior/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taskwarrior/subscriptions","organizations_url":"https://api.github.com/users/taskwarrior/orgs","repos_url":"https://api.github.com/users/taskwarrior/repos","events_url":"https://api.github.com/users/taskwarrior/events{/privacy}","received_events_url":"https://api.github.com/users/taskwarrior/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":9,"state":"open","created_at":"2018-02-12T14:08:20Z","updated_at":"2018-02-14T07:14:20Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2018-02-14T07:14:04Z","updated_at":"2018-02-14T07:14:50Z","closed_at":"2018-02-14T07:14:19Z","author_association":"CONTRIBUTOR","body":"_Markus Beppler on 2014-08-03T07:28:18Z says:_ \n\n Taskwarrior will import the same UUID multiple times if it is part of the same import command.\n\nTwo files containing the same UUID two times.\n```\ncat uuid_1.json\n    {\"uuid\":\"66666666-6666-6666-6666-666666666666\",\"description\":\"UUID 1st time\"}\n    {\"uuid\":\"66666666-6666-6666-6666-666666666666\",\"description\":\"UUID 2nd time\"}\n\ncat uuid_2.json\n    {\"uuid\":\"66666666-6666-6666-6666-666666666666\",\"description\":\"UUID 3rd time\"}\n    {\"uuid\":\"66666666-6666-6666-6666-666666666666\",\"description\":\"UUID 4th time\"}\n```\n\nImport the files as one action.\n```\ntask import uuid_1.json uuid_2.json\n    Importing 'uuid_1.json'\n      66666666-6666-6666-6666-666666666666 UUID 1st time\n      66666666-6666-6666-6666-666666666666 UUID 2nd time\n    Importing 'uuid_2.json'\n      66666666-6666-6666-6666-666666666666 UUID 3rd time\n      66666666-6666-6666-6666-666666666666 UUID 4th time\n    Imported 4 tasks.\n```\n\nCheck if all the duplicated UUID's are part of database.\n```\ntask diag\n    task 2.4.0.dev\n       Platform: Linux\n     :\n    Tests\n           Dups: Scanned 4 tasks for duplicate UUIDs:\n                 Found duplicate 66666666-6666-6666-6666-666666666666\n                 Found duplicate 66666666-6666-6666-6666-666666666666\n                 Found duplicate 66666666-6666-6666-6666-666666666666\n```\n"},"comment":{"url":"https://api.github.com/repos/GothenburgBitFactory/taskwarrior/issues/comments/365516570","html_url":"https://github.com/GothenburgBitFactory/taskwarrior/issues/1416#issuecomment-365516570","issue_url":"https://api.github.com/repos/GothenburgBitFactory/taskwarrior/issues/1416","id":365516570,"user":{"login":"taskwarrior","id":146045,"avatar_url":"https://avatars0.githubusercontent.com/u/146045?v=4","gravatar_id":"","url":"https://api.github.com/users/taskwarrior","html_url":"https://github.com/taskwarrior","followers_url":"https://api.github.com/users/taskwarrior/followers","following_url":"https://api.github.com/users/taskwarrior/following{/other_user}","gists_url":"https://api.github.com/users/taskwarrior/gists{/gist_id}","starred_url":"https://api.github.com/users/taskwarrior/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taskwarrior/subscriptions","organizations_url":"https://api.github.com/users/taskwarrior/orgs","repos_url":"https://api.github.com/users/taskwarrior/repos","events_url":"https://api.github.com/users/taskwarrior/events{/privacy}","received_events_url":"https://api.github.com/users/taskwarrior/received_events","type":"User","site_admin":false},"created_at":"2018-02-14T07:14:50Z","updated_at":"2018-02-14T07:14:50Z","author_association":"CONTRIBUTOR","body":"_Markus Beppler on 2014-08-03T07:38:05Z says:_ \n\n Attached is a patch for import.t with two additional tests.\n*  Make sure that duplicate task cannot be imported, if part of same import (two different files)\n*  Make sure that duplicate task cannot be imported, if part of same import (same file)\n"}}
{"actor":{"display_login":"taskwarrior"}}