{"action":"created","issue":{"url":"https://api.github.com/repos/hechoendrupal/DrupalConsole/issues/1153","labels_url":"https://api.github.com/repos/hechoendrupal/DrupalConsole/issues/1153/labels{/name}","comments_url":"https://api.github.com/repos/hechoendrupal/DrupalConsole/issues/1153/comments","events_url":"https://api.github.com/repos/hechoendrupal/DrupalConsole/issues/1153/events","html_url":"https://github.com/hechoendrupal/DrupalConsole/pull/1153","id":115447397,"number":1153,"title":"Fixes the currently broken get of existing entity-langcode","user":{"login":"tsvenson","id":444455,"avatar_url":"https://avatars.githubusercontent.com/u/444455?v=3","gravatar_id":"","url":"https://api.github.com/users/tsvenson","html_url":"https://github.com/tsvenson","followers_url":"https://api.github.com/users/tsvenson/followers","following_url":"https://api.github.com/users/tsvenson/following{/other_user}","gists_url":"https://api.github.com/users/tsvenson/gists{/gist_id}","starred_url":"https://api.github.com/users/tsvenson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsvenson/subscriptions","organizations_url":"https://api.github.com/users/tsvenson/orgs","repos_url":"https://api.github.com/users/tsvenson/repos","events_url":"https://api.github.com/users/tsvenson/events{/privacy}","received_events_url":"https://api.github.com/users/tsvenson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-06T06:37:39Z","updated_at":"2015-11-08T19:41:08Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/hechoendrupal/DrupalConsole/pulls/1153","html_url":"https://github.com/hechoendrupal/DrupalConsole/pull/1153","diff_url":"https://github.com/hechoendrupal/DrupalConsole/pull/1153.diff","patch_url":"https://github.com/hechoendrupal/DrupalConsole/pull/1153.patch"},"body":"The current code for getting the entity langcode is broken, I'm not entirely sure this is the correct way of doing this but it does work when editing existing entities.\r\n\r\nI also found https://www.drupal.org/node/2303877 which hints using \"language()->getId()\" should be avoided for content entities."},"comment":{"url":"https://api.github.com/repos/hechoendrupal/DrupalConsole/issues/comments/154860579","html_url":"https://github.com/hechoendrupal/DrupalConsole/pull/1153#issuecomment-154860579","issue_url":"https://api.github.com/repos/hechoendrupal/DrupalConsole/issues/1153","id":154860579,"user":{"login":"jmolivas","id":366275,"avatar_url":"https://avatars.githubusercontent.com/u/366275?v=3","gravatar_id":"","url":"https://api.github.com/users/jmolivas","html_url":"https://github.com/jmolivas","followers_url":"https://api.github.com/users/jmolivas/followers","following_url":"https://api.github.com/users/jmolivas/following{/other_user}","gists_url":"https://api.github.com/users/jmolivas/gists{/gist_id}","starred_url":"https://api.github.com/users/jmolivas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmolivas/subscriptions","organizations_url":"https://api.github.com/users/jmolivas/orgs","repos_url":"https://api.github.com/users/jmolivas/repos","events_url":"https://api.github.com/users/jmolivas/events{/privacy}","received_events_url":"https://api.github.com/users/jmolivas/received_events","type":"User","site_admin":false},"created_at":"2015-11-08T19:41:08Z","updated_at":"2015-11-08T19:41:08Z","body":"@tsvenson : Thanks for the PR. We will test this and merge this."}}