{"action":"created","issue":{"url":"https://api.github.com/repos/ejplatform/ej-server/issues/377","repository_url":"https://api.github.com/repos/ejplatform/ej-server","labels_url":"https://api.github.com/repos/ejplatform/ej-server/issues/377/labels{/name}","comments_url":"https://api.github.com/repos/ejplatform/ej-server/issues/377/comments","events_url":"https://api.github.com/repos/ejplatform/ej-server/issues/377/events","html_url":"https://github.com/ejplatform/ej-server/issues/377","id":353491052,"node_id":"MDU6SXNzdWUzNTM0OTEwNTI=","number":377,"title":"Tratar no front o erro quando o comentário de uma mesma conversa tem o mesmo conteúdo","user":{"login":"ricardopoppi","id":1162183,"node_id":"MDQ6VXNlcjExNjIxODM=","avatar_url":"https://avatars3.githubusercontent.com/u/1162183?v=4","gravatar_id":"","url":"https://api.github.com/users/ricardopoppi","html_url":"https://github.com/ricardopoppi","followers_url":"https://api.github.com/users/ricardopoppi/followers","following_url":"https://api.github.com/users/ricardopoppi/following{/other_user}","gists_url":"https://api.github.com/users/ricardopoppi/gists{/gist_id}","starred_url":"https://api.github.com/users/ricardopoppi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ricardopoppi/subscriptions","organizations_url":"https://api.github.com/users/ricardopoppi/orgs","repos_url":"https://api.github.com/users/ricardopoppi/repos","events_url":"https://api.github.com/users/ricardopoppi/events{/privacy}","received_events_url":"https://api.github.com/users/ricardopoppi/received_events","type":"User","site_admin":false},"labels":[{"id":912432183,"node_id":"MDU6TGFiZWw5MTI0MzIxODM=","url":"https://api.github.com/repos/ejplatform/ej-server/labels/front","name":"front","color":"ea3175","default":false}],"state":"closed","locked":false,"assignee":{"login":"BrunaNayara","id":4125846,"node_id":"MDQ6VXNlcjQxMjU4NDY=","avatar_url":"https://avatars0.githubusercontent.com/u/4125846?v=4","gravatar_id":"","url":"https://api.github.com/users/BrunaNayara","html_url":"https://github.com/BrunaNayara","followers_url":"https://api.github.com/users/BrunaNayara/followers","following_url":"https://api.github.com/users/BrunaNayara/following{/other_user}","gists_url":"https://api.github.com/users/BrunaNayara/gists{/gist_id}","starred_url":"https://api.github.com/users/BrunaNayara/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BrunaNayara/subscriptions","organizations_url":"https://api.github.com/users/BrunaNayara/orgs","repos_url":"https://api.github.com/users/BrunaNayara/repos","events_url":"https://api.github.com/users/BrunaNayara/events{/privacy}","received_events_url":"https://api.github.com/users/BrunaNayara/received_events","type":"User","site_admin":false},"assignees":[{"login":"BrunaNayara","id":4125846,"node_id":"MDQ6VXNlcjQxMjU4NDY=","avatar_url":"https://avatars0.githubusercontent.com/u/4125846?v=4","gravatar_id":"","url":"https://api.github.com/users/BrunaNayara","html_url":"https://github.com/BrunaNayara","followers_url":"https://api.github.com/users/BrunaNayara/followers","following_url":"https://api.github.com/users/BrunaNayara/following{/other_user}","gists_url":"https://api.github.com/users/BrunaNayara/gists{/gist_id}","starred_url":"https://api.github.com/users/BrunaNayara/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BrunaNayara/subscriptions","organizations_url":"https://api.github.com/users/BrunaNayara/orgs","repos_url":"https://api.github.com/users/BrunaNayara/repos","events_url":"https://api.github.com/users/BrunaNayara/events{/privacy}","received_events_url":"https://api.github.com/users/BrunaNayara/received_events","type":"User","site_admin":false},{"login":"LeoSilvaGomes","id":38738836,"node_id":"MDQ6VXNlcjM4NzM4ODM2","avatar_url":"https://avatars1.githubusercontent.com/u/38738836?v=4","gravatar_id":"","url":"https://api.github.com/users/LeoSilvaGomes","html_url":"https://github.com/LeoSilvaGomes","followers_url":"https://api.github.com/users/LeoSilvaGomes/followers","following_url":"https://api.github.com/users/LeoSilvaGomes/following{/other_user}","gists_url":"https://api.github.com/users/LeoSilvaGomes/gists{/gist_id}","starred_url":"https://api.github.com/users/LeoSilvaGomes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LeoSilvaGomes/subscriptions","organizations_url":"https://api.github.com/users/LeoSilvaGomes/orgs","repos_url":"https://api.github.com/users/LeoSilvaGomes/repos","events_url":"https://api.github.com/users/LeoSilvaGomes/events{/privacy}","received_events_url":"https://api.github.com/users/LeoSilvaGomes/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/ejplatform/ej-server/milestones/4","html_url":"https://github.com/ejplatform/ej-server/milestone/4","labels_url":"https://api.github.com/repos/ejplatform/ej-server/milestones/4/labels","id":3426782,"node_id":"MDk6TWlsZXN0b25lMzQyNjc4Mg==","number":4,"title":"Generic EJ full product NOVA VIDA","description":"","creator":{"login":"ricardopoppi","id":1162183,"node_id":"MDQ6VXNlcjExNjIxODM=","avatar_url":"https://avatars3.githubusercontent.com/u/1162183?v=4","gravatar_id":"","url":"https://api.github.com/users/ricardopoppi","html_url":"https://github.com/ricardopoppi","followers_url":"https://api.github.com/users/ricardopoppi/followers","following_url":"https://api.github.com/users/ricardopoppi/following{/other_user}","gists_url":"https://api.github.com/users/ricardopoppi/gists{/gist_id}","starred_url":"https://api.github.com/users/ricardopoppi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ricardopoppi/subscriptions","organizations_url":"https://api.github.com/users/ricardopoppi/orgs","repos_url":"https://api.github.com/users/ricardopoppi/repos","events_url":"https://api.github.com/users/ricardopoppi/events{/privacy}","received_events_url":"https://api.github.com/users/ricardopoppi/received_events","type":"User","site_admin":false},"open_issues":6,"closed_issues":100,"state":"open","created_at":"2018-06-15T02:09:02Z","updated_at":"2018-10-10T21:12:31Z","due_on":"2018-09-19T07:00:00Z","closed_at":null},"comments":3,"created_at":"2018-08-23T18:00:39Z","updated_at":"2018-10-11T03:00:42Z","closed_at":"2018-10-08T14:32:06Z","author_association":"CONTRIBUTOR","body":"Devemos tratar esse erro no front em dois momentos:\r\n(i) tela de criação de conversa\r\n(ii) interna da conversa no campo de comentários. \r\n\r\nWireframes com o toast:\r\n\r\nEJ Genérico: https://projects.invisionapp.com/d/main#/console/14872865/311557168/preview#project_console\r\nCPA: @luizapeixe pode atualizar nos comentários dessa issue o wireframe desse toast derivado para o CPA?\r\n\r\n\r\nAtualmente, está estourando no django. Trace do erro:\r\n\r\nRequest Method: | POST\r\n-- | --\r\nhttp://dev.ejplatform.org/conversations/add/\r\n2.0.8\r\nIntegrityError\r\nduplicate key value violates unique constraint \"ej_conversations_comment_conversation_id_content_fefe6483_uniq\" DETAIL:  Key (conversation_id, content)=(28, oi) already exists.\r\n/pypackages/lib/python3.6/site-packages/django/db/backends/utils.py in _execute, line 85\r\n/usr/bin/python3\r\n3.6.6\r\n['/app',  '/usr/local/bin',  '/app/src',  '/app',  '/pypackages/lib/python3.6/site-packages',  '/usr/lib/python36.zip',  '/usr/lib/python3.6',  '/usr/lib/python3.6/lib-dynload',  '/usr/local/lib/python3.6/dist-packages',  '/usr/lib/python3/dist-packages',  'src',  '/app']\r\nQui, 23 Ago 2018 14:58:47 -0300\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/ejplatform/ej-server/issues/comments/428803103","html_url":"https://github.com/ejplatform/ej-server/issues/377#issuecomment-428803103","issue_url":"https://api.github.com/repos/ejplatform/ej-server/issues/377","id":428803103,"node_id":"MDEyOklzc3VlQ29tbWVudDQyODgwMzEwMw==","user":{"login":"ricardopoppi","id":1162183,"node_id":"MDQ6VXNlcjExNjIxODM=","avatar_url":"https://avatars3.githubusercontent.com/u/1162183?v=4","gravatar_id":"","url":"https://api.github.com/users/ricardopoppi","html_url":"https://github.com/ricardopoppi","followers_url":"https://api.github.com/users/ricardopoppi/followers","following_url":"https://api.github.com/users/ricardopoppi/following{/other_user}","gists_url":"https://api.github.com/users/ricardopoppi/gists{/gist_id}","starred_url":"https://api.github.com/users/ricardopoppi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ricardopoppi/subscriptions","organizations_url":"https://api.github.com/users/ricardopoppi/orgs","repos_url":"https://api.github.com/users/ricardopoppi/repos","events_url":"https://api.github.com/users/ricardopoppi/events{/privacy}","received_events_url":"https://api.github.com/users/ricardopoppi/received_events","type":"User","site_admin":false},"created_at":"2018-10-11T03:00:42Z","updated_at":"2018-10-11T03:00:42Z","author_association":"CONTRIBUTOR","body":"resolvido com o seu commit @LeoSilvaGomes, tudo certo! passando essa issue de staging pra done!"}}
{"actor":{"display_login":"ricardopoppi"}}