{"action":"created","issue":{"url":"https://api.github.com/repos/GothenburgBitFactory/taskwarrior/issues/2036","repository_url":"https://api.github.com/repos/GothenburgBitFactory/taskwarrior","labels_url":"https://api.github.com/repos/GothenburgBitFactory/taskwarrior/issues/2036/labels{/name}","comments_url":"https://api.github.com/repos/GothenburgBitFactory/taskwarrior/issues/2036/comments","events_url":"https://api.github.com/repos/GothenburgBitFactory/taskwarrior/issues/2036/events","html_url":"https://github.com/GothenburgBitFactory/taskwarrior/issues/2036","id":328925371,"node_id":"MDU6SXNzdWUzMjg5MjUzNzE=","number":2036,"title":"Adding \"wait\" tag duplicates previous tags","user":{"login":"mgoral","id":854316,"node_id":"MDQ6VXNlcjg1NDMxNg==","avatar_url":"https://avatars2.githubusercontent.com/u/854316?v=4","gravatar_id":"","url":"https://api.github.com/users/mgoral","html_url":"https://github.com/mgoral","followers_url":"https://api.github.com/users/mgoral/followers","following_url":"https://api.github.com/users/mgoral/following{/other_user}","gists_url":"https://api.github.com/users/mgoral/gists{/gist_id}","starred_url":"https://api.github.com/users/mgoral/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgoral/subscriptions","organizations_url":"https://api.github.com/users/mgoral/orgs","repos_url":"https://api.github.com/users/mgoral/repos","events_url":"https://api.github.com/users/mgoral/events{/privacy}","received_events_url":"https://api.github.com/users/mgoral/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-04T06:35:41Z","updated_at":"2018-06-22T21:44:15Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\n\r\nwhen I set task's tags via `task mod tag:\"blah,wait\"`, the tags typed before \"wait\" are duplicated. Tags after \"wait\" are correct and modifying tags via `task mod +blah +wait` works as expected.\r\n\r\nThis actually affects all tags which start with \"wait\", so submitting e.g. `task mod tag:blah,waitfooofofofo` has the same effect.\r\n\r\n* What command(s) did you run?\r\n\r\nBelow commands reproduce the issue\r\n\r\n```\r\n$ task add abc\r\nCreated task 60.\r\n\r\n$ task 60 mod tags:\"foo,wait\"\r\nModifying task 60 'abc'.\r\nModified 1 task.\r\n\r\n$ task _get 60.tags\r\nfoo,foo,wait\r\n\r\n$ task 60 mod tags:\"foo,bar,wait\r\n$ task _get 60.tags\r\nfoo,bar,foo,bar,wait\r\n\r\n$ task 60 mod tags:\"foo,bar,wait,other\"\r\n$ task _get 60.tags\r\nfoo,bar,foo,bar,wait,other\r\n```\r\n\r\n* What did you expect to happen?\r\n\r\nWhen modifying task via e.g. `task 60 mod tags:\"foo,wait\"` I expected that only \"foo\" and \"bar\" tasks will appear, foo not being duplicated.\r\n\r\n* Paste the output of the ```task diag``` command.\r\n\r\n```\r\ntask 2.5.1\r\n   Platform: Linux\r\n\r\nCompiler\r\n    Version: 6.3.0 20170221\r\n       Caps: +stdc +stdc_hosted +LP64 +c8 +i32 +l64 +vp64 +time_t64\r\n Compliance: C++11\r\n\r\nBuild Features\r\n      CMake: 3.7.2\r\n    libuuid: libuuid + uuid_unparse_lower\r\n  libgnutls: 3.5.8\r\n Build type: None\r\n\r\nConfiguration\r\n       File: /home/mgoral/.taskrc (found), 2494 bytes, mode 100644\r\n       Data: /home/mgoral/.task (found), dir, mode 40755\r\n    Locking: Enabled\r\n         GC: Enabled\r\n    $EDITOR: nvim\r\n     Server: mgoral.org:53589\r\n         CA: ~/sync/taskd-certs/ca.cert.pem, readable, 3731 bytes\r\n      Trust: strict\r\nCertificate: ~/sync/taskd-certs/client.cert.pem, readable, 3714 bytes\r\n        Key: ~/sync/taskd-certs/client.key.pem, readable, 25303 bytes\r\n    Ciphers: NORMAL\r\n      Creds: Public/virgo/************************************\r\n\r\nHooks\r\n     System: Enabled\r\n   Location: /home/mgoral/.task/hooks\r\n             (-none-)\r\n\r\nTests\r\n      $TERM: screen-256color (223x107)\r\n       Dups: Scanned 591 tasks for duplicate UUIDs:\r\n             No duplicates found\r\n Broken ref: Scanned 591 tasks for broken references:\r\n             No broken references found\r\n```"},"comment":{"url":"https://api.github.com/repos/GothenburgBitFactory/taskwarrior/issues/comments/399590861","html_url":"https://github.com/GothenburgBitFactory/taskwarrior/issues/2036#issuecomment-399590861","issue_url":"https://api.github.com/repos/GothenburgBitFactory/taskwarrior/issues/2036","id":399590861,"node_id":"MDEyOklzc3VlQ29tbWVudDM5OTU5MDg2MQ==","user":{"login":"ThomasAdam","id":101281,"node_id":"MDQ6VXNlcjEwMTI4MQ==","avatar_url":"https://avatars3.githubusercontent.com/u/101281?v=4","gravatar_id":"","url":"https://api.github.com/users/ThomasAdam","html_url":"https://github.com/ThomasAdam","followers_url":"https://api.github.com/users/ThomasAdam/followers","following_url":"https://api.github.com/users/ThomasAdam/following{/other_user}","gists_url":"https://api.github.com/users/ThomasAdam/gists{/gist_id}","starred_url":"https://api.github.com/users/ThomasAdam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ThomasAdam/subscriptions","organizations_url":"https://api.github.com/users/ThomasAdam/orgs","repos_url":"https://api.github.com/users/ThomasAdam/repos","events_url":"https://api.github.com/users/ThomasAdam/events{/privacy}","received_events_url":"https://api.github.com/users/ThomasAdam/received_events","type":"User","site_admin":false},"created_at":"2018-06-22T21:44:15Z","updated_at":"2018-06-22T21:44:15Z","author_association":"NONE","body":"You should try using `task` version `2.6.0` (see git for this) -- as I suspect your bug report is invalid against that version."}}
{"actor":{"display_login":"ThomasAdam"}}