{"action":"created","issue":{"url":"https://api.github.com/repos/cBioPortal/cbioportal-frontend/issues/471","repository_url":"https://api.github.com/repos/cBioPortal/cbioportal-frontend","labels_url":"https://api.github.com/repos/cBioPortal/cbioportal-frontend/issues/471/labels{/name}","comments_url":"https://api.github.com/repos/cBioPortal/cbioportal-frontend/issues/471/comments","events_url":"https://api.github.com/repos/cBioPortal/cbioportal-frontend/issues/471/events","html_url":"https://github.com/cBioPortal/cbioportal-frontend/pull/471","id":243268332,"number":471,"title":"Fix infinite pulling of source code","user":{"login":"inodb","id":1334004,"avatar_url":"https://avatars3.githubusercontent.com/u/1334004?v=4","gravatar_id":"","url":"https://api.github.com/users/inodb","html_url":"https://github.com/inodb","followers_url":"https://api.github.com/users/inodb/followers","following_url":"https://api.github.com/users/inodb/following{/other_user}","gists_url":"https://api.github.com/users/inodb/gists{/gist_id}","starred_url":"https://api.github.com/users/inodb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inodb/subscriptions","organizations_url":"https://api.github.com/users/inodb/orgs","repos_url":"https://api.github.com/users/inodb/repos","events_url":"https://api.github.com/users/inodb/events{/privacy}","received_events_url":"https://api.github.com/users/inodb/received_events","type":"User","site_admin":false},"labels":[{"id":434975712,"url":"https://api.github.com/repos/cBioPortal/cbioportal-frontend/labels/DO%20NOT%20MERGE","name":"DO NOT MERGE","color":"b60205","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-07-16T21:40:18Z","updated_at":"2017-08-03T10:53:37Z","closed_at":"2017-08-03T10:53:37Z","pull_request":{"url":"https://api.github.com/repos/cBioPortal/cbioportal-frontend/pulls/471","html_url":"https://github.com/cBioPortal/cbioportal-frontend/pull/471","diff_url":"https://github.com/cBioPortal/cbioportal-frontend/pull/471.diff","patch_url":"https://github.com/cBioPortal/cbioportal-frontend/pull/471.patch"},"body":"Possibly related to this: https://github.com/facebook/react/issues/5591\r\n\r\nWhen using `localDev = true` trick on the mutation mapper integration https://github.com/cBioPortal/cbioportal/pull/2713 branch. It infinitely pulls the source code. Seems to be related to the issue of setting state in `render`? Not 100% sure why everything works when uncommenting this line. I guess when the props of the component change they initiate a new call to render, causing the infinite loop. Things seem to work with this change, I'm not entirely sure what this component is supposed to do other than displaying the text of the protein domain or why there are two text elements created, one with reference and one without. Hope @onursumer or @adamabeshouse can clarify? Thanks!"},"comment":{"url":"https://api.github.com/repos/cBioPortal/cbioportal-frontend/issues/comments/319936388","html_url":"https://github.com/cBioPortal/cbioportal-frontend/pull/471#issuecomment-319936388","issue_url":"https://api.github.com/repos/cBioPortal/cbioportal-frontend/issues/471","id":319936388,"user":{"login":"inodb","id":1334004,"avatar_url":"https://avatars3.githubusercontent.com/u/1334004?v=4","gravatar_id":"","url":"https://api.github.com/users/inodb","html_url":"https://github.com/inodb","followers_url":"https://api.github.com/users/inodb/followers","following_url":"https://api.github.com/users/inodb/following{/other_user}","gists_url":"https://api.github.com/users/inodb/gists{/gist_id}","starred_url":"https://api.github.com/users/inodb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inodb/subscriptions","organizations_url":"https://api.github.com/users/inodb/orgs","repos_url":"https://api.github.com/users/inodb/repos","events_url":"https://api.github.com/users/inodb/events{/privacy}","received_events_url":"https://api.github.com/users/inodb/received_events","type":"User","site_admin":false},"created_at":"2017-08-03T10:53:37Z","updated_at":"2017-08-03T10:53:37Z","body":"This is no longer on issue (only on unit tests, but seems to be a different problem)"}}
{"actor":{"display_login":"inodb"}}