{"issue":{"state":"open","created_at":"2011-12-13T20:18:50Z","updated_at":"2011-12-13T23:28:57Z","user":{"gravatar_id":"223fbb45da4d7981ef850203794f9114","id":1235763,"url":"https://api.github.com/users/shawn-northrop","avatar_url":"https://secure.gravatar.com/avatar/223fbb45da4d7981ef850203794f9114?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"shawn-northrop"},"comments":2,"body":"There is an issue when registering a new user if groups are enabled:\r\n\r\nInvalid argument supplied for foreach() in /vendor/bundles/FOS/UserBundle/Model/User.php line 372:\r\n\r\nforeach ($this->getGroups() as $group)\r\n\r\nAs there are no groups assigned at registration the foreach fails. ","assignee":null,"id":2542654,"number":444,"labels":[],"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"title":"Registration Issue - when groups are enabled","html_url":"https://github.com/FriendsOfSymfony/FOSUserBundle/issues/444","closed_at":null,"url":"https://api.github.com/repos/FriendsOfSymfony/FOSUserBundle/issues/444","milestone":null},"action":"created","comment":{"created_at":"2011-12-13T23:28:57Z","updated_at":"2011-12-13T23:28:57Z","user":{"gravatar_id":"223fbb45da4d7981ef850203794f9114","id":1235763,"url":"https://api.github.com/users/shawn-northrop","avatar_url":"https://secure.gravatar.com/avatar/223fbb45da4d7981ef850203794f9114?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"shawn-northrop"},"body":"That seemed to fix it... It must have been generated when I called app/console doctrine:generate:entities bundle\r\nThanks!","id":3132658,"url":"https://api.github.com/repos/FriendsOfSymfony/FOSUserBundle/issues/comments/3132658"}}