{"action":"created","issue":{"url":"https://api.github.com/repos/doctrine/doctrine2/issues/1248","labels_url":"https://api.github.com/repos/doctrine/doctrine2/issues/1248/labels{/name}","comments_url":"https://api.github.com/repos/doctrine/doctrine2/issues/1248/comments","events_url":"https://api.github.com/repos/doctrine/doctrine2/issues/1248/events","html_url":"https://github.com/doctrine/doctrine2/pull/1248","id":54166356,"number":1248,"title":"improved error handling for invalid association values #2","user":{"login":"flip111","id":2244480,"avatar_url":"https://avatars.githubusercontent.com/u/2244480?v=3","gravatar_id":"","url":"https://api.github.com/users/flip111","html_url":"https://github.com/flip111","followers_url":"https://api.github.com/users/flip111/followers","following_url":"https://api.github.com/users/flip111/following{/other_user}","gists_url":"https://api.github.com/users/flip111/gists{/gist_id}","starred_url":"https://api.github.com/users/flip111/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flip111/subscriptions","organizations_url":"https://api.github.com/users/flip111/orgs","repos_url":"https://api.github.com/users/flip111/repos","events_url":"https://api.github.com/users/flip111/events{/privacy}","received_events_url":"https://api.github.com/users/flip111/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-01-13T09:14:04Z","updated_at":"2015-01-13T09:25:49Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/doctrine/doctrine2/pulls/1248","html_url":"https://github.com/doctrine/doctrine2/pull/1248","diff_url":"https://github.com/doctrine/doctrine2/pull/1248.diff","patch_url":"https://github.com/doctrine/doctrine2/pull/1248.patch"},"body":"Possibly to do:\r\n1. Make custom Exception for line 713\r\n2. Make custom Exception for line 817\r\n3. Does the object check on line 816 slow down the code too much? Alternatively a try-catch could be put around line 1415 or higher up.\r\n\r\nPrevious: https://github.com/doctrine/doctrine2/pull/1016"},"comment":{"url":"https://api.github.com/repos/doctrine/doctrine2/issues/comments/69716782","html_url":"https://github.com/doctrine/doctrine2/pull/1248#issuecomment-69716782","issue_url":"https://api.github.com/repos/doctrine/doctrine2/issues/1248","id":69716782,"user":{"login":"Ocramius","id":154256,"avatar_url":"https://avatars.githubusercontent.com/u/154256?v=3","gravatar_id":"","url":"https://api.github.com/users/Ocramius","html_url":"https://github.com/Ocramius","followers_url":"https://api.github.com/users/Ocramius/followers","following_url":"https://api.github.com/users/Ocramius/following{/other_user}","gists_url":"https://api.github.com/users/Ocramius/gists{/gist_id}","starred_url":"https://api.github.com/users/Ocramius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ocramius/subscriptions","organizations_url":"https://api.github.com/users/Ocramius/orgs","repos_url":"https://api.github.com/users/Ocramius/repos","events_url":"https://api.github.com/users/Ocramius/events{/privacy}","received_events_url":"https://api.github.com/users/Ocramius/received_events","type":"User","site_admin":false},"created_at":"2015-01-13T09:25:49Z","updated_at":"2015-01-13T09:25:49Z","body":"@flip111 also, please provide tests for this enhancement"}}