{"action":"created","issue":{"url":"https://api.github.com/repos/zestedesavoir/zds-site/issues/3954","repository_url":"https://api.github.com/repos/zestedesavoir/zds-site","labels_url":"https://api.github.com/repos/zestedesavoir/zds-site/issues/3954/labels{/name}","comments_url":"https://api.github.com/repos/zestedesavoir/zds-site/issues/3954/comments","events_url":"https://api.github.com/repos/zestedesavoir/zds-site/issues/3954/events","html_url":"https://github.com/zestedesavoir/zds-site/pull/3954","id":188500420,"number":3954,"title":"Plus de double souscription","user":{"login":"artragis","id":1523653,"avatar_url":"https://avatars.githubusercontent.com/u/1523653?v=3","gravatar_id":"","url":"https://api.github.com/users/artragis","html_url":"https://github.com/artragis","followers_url":"https://api.github.com/users/artragis/followers","following_url":"https://api.github.com/users/artragis/following{/other_user}","gists_url":"https://api.github.com/users/artragis/gists{/gist_id}","starred_url":"https://api.github.com/users/artragis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/artragis/subscriptions","organizations_url":"https://api.github.com/users/artragis/orgs","repos_url":"https://api.github.com/users/artragis/repos","events_url":"https://api.github.com/users/artragis/events{/privacy}","received_events_url":"https://api.github.com/users/artragis/received_events","type":"User","site_admin":false},"labels":[{"id":104879870,"url":"https://api.github.com/repos/zestedesavoir/zds-site/labels/C-Back","name":"C-Back","color":"207de5","default":false},{"id":411494231,"url":"https://api.github.com/repos/zestedesavoir/zds-site/labels/P-Haute","name":"P-Haute","color":"5319e7","default":false},{"id":479731617,"url":"https://api.github.com/repos/zestedesavoir/zds-site/labels/QA%20svp","name":"QA svp","color":"c2e0c6","default":false},{"id":68166147,"url":"https://api.github.com/repos/zestedesavoir/zds-site/labels/S-BUG","name":"S-BUG","color":"e11d21","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/zestedesavoir/zds-site/milestones/34","html_url":"https://github.com/zestedesavoir/zds-site/milestones/Version%20de%20d%C3%A9veloppement","labels_url":"https://api.github.com/repos/zestedesavoir/zds-site/milestones/34/labels","id":1959111,"number":34,"title":"Version de développement","description":"","creator":{"login":"vhf","id":2022803,"avatar_url":"https://avatars.githubusercontent.com/u/2022803?v=3","gravatar_id":"","url":"https://api.github.com/users/vhf","html_url":"https://github.com/vhf","followers_url":"https://api.github.com/users/vhf/followers","following_url":"https://api.github.com/users/vhf/following{/other_user}","gists_url":"https://api.github.com/users/vhf/gists{/gist_id}","starred_url":"https://api.github.com/users/vhf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vhf/subscriptions","organizations_url":"https://api.github.com/users/vhf/orgs","repos_url":"https://api.github.com/users/vhf/repos","events_url":"https://api.github.com/users/vhf/events{/privacy}","received_events_url":"https://api.github.com/users/vhf/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":61,"state":"open","created_at":"2016-08-23T21:44:49Z","updated_at":"2016-11-25T18:24:01Z","due_on":"2016-11-30T00:00:00Z","closed_at":null},"comments":41,"created_at":"2016-11-10T12:50:07Z","updated_at":"2016-11-27T20:53:00Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/zestedesavoir/zds-site/pulls/3954","html_url":"https://github.com/zestedesavoir/zds-site/pull/3954","diff_url":"https://github.com/zestedesavoir/zds-site/pull/3954.diff","patch_url":"https://github.com/zestedesavoir/zds-site/pull/3954.patch"},"body":"| Q                                   | R\r\n| ----------------------------------- | -------------------------------------------\r\n| Type de modification                | correction de bug \r\n| Ticket(s) (_issue(s)_) concerné(s)  | #3918, #3988, #396, #4011 \r\n\r\nLe test unitaire arrive.\r\n\r\n### QA\r\n\r\n* avec user1 créez un tutoriel coécrit avec user2\r\n* avec user 1 suivez user2\r\n* publiez le tuto\r\n* observez qu'il n'y a pas de double souscription\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/zestedesavoir/zds-site/issues/comments/263146773","html_url":"https://github.com/zestedesavoir/zds-site/pull/3954#issuecomment-263146773","issue_url":"https://api.github.com/repos/zestedesavoir/zds-site/issues/3954","id":263146773,"user":{"login":"pierre-24","id":7889675,"avatar_url":"https://avatars.githubusercontent.com/u/7889675?v=3","gravatar_id":"","url":"https://api.github.com/users/pierre-24","html_url":"https://github.com/pierre-24","followers_url":"https://api.github.com/users/pierre-24/followers","following_url":"https://api.github.com/users/pierre-24/following{/other_user}","gists_url":"https://api.github.com/users/pierre-24/gists{/gist_id}","starred_url":"https://api.github.com/users/pierre-24/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pierre-24/subscriptions","organizations_url":"https://api.github.com/users/pierre-24/orgs","repos_url":"https://api.github.com/users/pierre-24/repos","events_url":"https://api.github.com/users/pierre-24/events{/privacy}","received_events_url":"https://api.github.com/users/pierre-24/received_events","type":"User","site_admin":false},"created_at":"2016-11-27T20:53:00Z","updated_at":"2016-11-27T20:53:00Z","body":"Toujours pas, mais à un autre niveau:\r\n\r\n```\r\n  File \"/home/pbeaujea/Devels/zds-site/zds/notification/receivers.py\", line 107, in mark_content_reactions_read\r\n    if subscription and (subscription.is_active or subscription.user in author):\r\nTypeError: argument of type 'User' is not iterable\r\n```\r\n\r\nJ'ai cette erreur quand user (un des auteurs) visite le tuto. Quand c'est \"admin\" qui visite, pas de souchi."}}
{"actor":{"display_login":"pierre-24"}}