{"action":"opened","issue":{"url":"https://api.github.com/repos/cubesystems/releaf/issues/293","repository_url":"https://api.github.com/repos/cubesystems/releaf","labels_url":"https://api.github.com/repos/cubesystems/releaf/issues/293/labels{/name}","comments_url":"https://api.github.com/repos/cubesystems/releaf/issues/293/comments","events_url":"https://api.github.com/repos/cubesystems/releaf/issues/293/events","html_url":"https://github.com/cubesystems/releaf/issues/293","id":134270217,"number":293,"title":"Prevent duplicate key errors when creating missing translations","user":{"login":"guntis","id":686431,"avatar_url":"https://avatars.githubusercontent.com/u/686431?v=3","gravatar_id":"","url":"https://api.github.com/users/guntis","html_url":"https://github.com/guntis","followers_url":"https://api.github.com/users/guntis/followers","following_url":"https://api.github.com/users/guntis/following{/other_user}","gists_url":"https://api.github.com/users/guntis/gists{/gist_id}","starred_url":"https://api.github.com/users/guntis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guntis/subscriptions","organizations_url":"https://api.github.com/users/guntis/orgs","repos_url":"https://api.github.com/users/guntis/repos","events_url":"https://api.github.com/users/guntis/events{/privacy}","received_events_url":"https://api.github.com/users/guntis/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/cubesystems/releaf/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-02-17T12:48:59Z","updated_at":"2016-02-17T12:48:59Z","closed_at":null,"body":"When a translation key does not exist in cache but exists in db, the I18ndatabase engine will attempt to insert it and fail with an SQL error. A quick workaround would be to rescue this exception in the insertion code."}}