{"action":"created","issue":{"url":"https://api.github.com/repos/mozilla/pontoon/issues/297","labels_url":"https://api.github.com/repos/mozilla/pontoon/issues/297/labels{/name}","comments_url":"https://api.github.com/repos/mozilla/pontoon/issues/297/comments","events_url":"https://api.github.com/repos/mozilla/pontoon/issues/297/events","html_url":"https://github.com/mozilla/pontoon/pull/297","id":120113148,"number":297,"title":"Skip updating translations for missing entities.","user":{"login":"Osmose","id":193106,"avatar_url":"https://avatars.githubusercontent.com/u/193106?v=3","gravatar_id":"","url":"https://api.github.com/users/Osmose","html_url":"https://github.com/Osmose","followers_url":"https://api.github.com/users/Osmose/followers","following_url":"https://api.github.com/users/Osmose/following{/other_user}","gists_url":"https://api.github.com/users/Osmose/gists{/gist_id}","starred_url":"https://api.github.com/users/Osmose/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Osmose/subscriptions","organizations_url":"https://api.github.com/users/Osmose/orgs","repos_url":"https://api.github.com/users/Osmose/repos","events_url":"https://api.github.com/users/Osmose/events{/privacy}","received_events_url":"https://api.github.com/users/Osmose/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-12-03T07:54:40Z","updated_at":"2015-12-04T10:38:51Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mozilla/pontoon/pulls/297","html_url":"https://github.com/mozilla/pontoon/pull/297","diff_url":"https://github.com/mozilla/pontoon/pull/297.diff","patch_url":"https://github.com/mozilla/pontoon/pull/297.patch"},"body":"If we don't have both a VCS entity and a DB entity, we can't do anything useful to update the translations for the entity, so we just skip them.\r\n\r\nThis fixes an issue we were running into when testing the new MasterFirefoxOS translation files. Since there are source files that may not exist in certain locales, we get `None` back for `vcs_translation` and hit an error, when really we should be skipping those.\r\n\r\n@mathjazz r?"},"comment":{"url":"https://api.github.com/repos/mozilla/pontoon/issues/comments/161933572","html_url":"https://github.com/mozilla/pontoon/pull/297#issuecomment-161933572","issue_url":"https://api.github.com/repos/mozilla/pontoon/issues/297","id":161933572,"user":{"login":"mathjazz","id":626716,"avatar_url":"https://avatars.githubusercontent.com/u/626716?v=3","gravatar_id":"","url":"https://api.github.com/users/mathjazz","html_url":"https://github.com/mathjazz","followers_url":"https://api.github.com/users/mathjazz/followers","following_url":"https://api.github.com/users/mathjazz/following{/other_user}","gists_url":"https://api.github.com/users/mathjazz/gists{/gist_id}","starred_url":"https://api.github.com/users/mathjazz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mathjazz/subscriptions","organizations_url":"https://api.github.com/users/mathjazz/orgs","repos_url":"https://api.github.com/users/mathjazz/repos","events_url":"https://api.github.com/users/mathjazz/events{/privacy}","received_events_url":"https://api.github.com/users/mathjazz/received_events","type":"User","site_admin":false},"created_at":"2015-12-04T10:38:51Z","updated_at":"2015-12-04T10:38:51Z","body":"This explains everything. Tested all locales locally and strings match the ones in the repository. Excellent work! r+"}}