{"action":"created","issue":{"url":"https://api.github.com/repos/symfony/symfony/issues/17163","labels_url":"https://api.github.com/repos/symfony/symfony/issues/17163/labels{/name}","comments_url":"https://api.github.com/repos/symfony/symfony/issues/17163/comments","events_url":"https://api.github.com/repos/symfony/symfony/issues/17163/events","html_url":"https://github.com/symfony/symfony/pull/17163","id":124180181,"number":17163,"title":"Catchable Fatal Error: Argument 1 passed to Symfony\\Component\\Form\\Extension\\Core\\Type\\ChoiceType::normalizeLegacyChoices() must be of the type array, null given","user":{"login":"Gladhon","id":946885,"avatar_url":"https://avatars.githubusercontent.com/u/946885?v=3","gravatar_id":"","url":"https://api.github.com/users/Gladhon","html_url":"https://github.com/Gladhon","followers_url":"https://api.github.com/users/Gladhon/followers","following_url":"https://api.github.com/users/Gladhon/following{/other_user}","gists_url":"https://api.github.com/users/Gladhon/gists{/gist_id}","starred_url":"https://api.github.com/users/Gladhon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gladhon/subscriptions","organizations_url":"https://api.github.com/users/Gladhon/orgs","repos_url":"https://api.github.com/users/Gladhon/repos","events_url":"https://api.github.com/users/Gladhon/events{/privacy}","received_events_url":"https://api.github.com/users/Gladhon/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/symfony/symfony/labels/Status:%20Needs%20Review","name":"Status: Needs Review","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-29T08:32:14Z","updated_at":"2015-12-29T09:06:04Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/symfony/symfony/pulls/17163","html_url":"https://github.com/symfony/symfony/pull/17163","diff_url":"https://github.com/symfony/symfony/pull/17163.diff","patch_url":"https://github.com/symfony/symfony/pull/17163.patch"},"body":"| Q             | A\r\n| ------------- | ---\r\n| Bug fix?      | yes\r\n| New feature?  | no\r\n| BC breaks?    | no\r\n| Deprecations? | no\r\n| Tests pass?   | yes\r\n| Fixed tickets | #17163\r\n| License       | MIT\r\n| Doc PR        | \r\n\r\nSince 2.7.8 I got a BC-Break Error\r\n\r\nCatchable Fatal Error: Argument 1 passed to Symfony\\Component\\Form\\Extension\\Core\\Type\\ChoiceType::normalizeLegacyChoices() must be of the type array, null given\r\n\r\nnormalizeLegacyChoices work only with array, so if choices not an array, just don't try to normlize. "},"comment":{"url":"https://api.github.com/repos/symfony/symfony/issues/comments/167752678","html_url":"https://github.com/symfony/symfony/pull/17163#issuecomment-167752678","issue_url":"https://api.github.com/repos/symfony/symfony/issues/17163","id":167752678,"user":{"login":"Gladhon","id":946885,"avatar_url":"https://avatars.githubusercontent.com/u/946885?v=3","gravatar_id":"","url":"https://api.github.com/users/Gladhon","html_url":"https://github.com/Gladhon","followers_url":"https://api.github.com/users/Gladhon/followers","following_url":"https://api.github.com/users/Gladhon/following{/other_user}","gists_url":"https://api.github.com/users/Gladhon/gists{/gist_id}","starred_url":"https://api.github.com/users/Gladhon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gladhon/subscriptions","organizations_url":"https://api.github.com/users/Gladhon/orgs","repos_url":"https://api.github.com/users/Gladhon/repos","events_url":"https://api.github.com/users/Gladhon/events{/privacy}","received_events_url":"https://api.github.com/users/Gladhon/received_events","type":"User","site_admin":false},"created_at":"2015-12-29T09:06:04Z","updated_at":"2015-12-29T09:06:04Z","body":"If the choicesNormalizer have to make an array in every case, you're right.\r\nIMHO has the choicesNormalizer to normalize arrays to avoid bc's and leave everything else as it is."}}