{"action":"created","issue":{"url":"https://api.github.com/repos/sonata-project/SonataUserBundle/issues/745","repository_url":"https://api.github.com/repos/sonata-project/SonataUserBundle","labels_url":"https://api.github.com/repos/sonata-project/SonataUserBundle/issues/745/labels{/name}","comments_url":"https://api.github.com/repos/sonata-project/SonataUserBundle/issues/745/comments","events_url":"https://api.github.com/repos/sonata-project/SonataUserBundle/issues/745/events","html_url":"https://github.com/sonata-project/SonataUserBundle/pull/745","id":156387788,"number":745,"title":"[WIP] FOSUser 2.0 compatibility","user":{"login":"Soullivaneuh","id":1698357,"avatar_url":"https://avatars.githubusercontent.com/u/1698357?v=3","gravatar_id":"","url":"https://api.github.com/users/Soullivaneuh","html_url":"https://github.com/Soullivaneuh","followers_url":"https://api.github.com/users/Soullivaneuh/followers","following_url":"https://api.github.com/users/Soullivaneuh/following{/other_user}","gists_url":"https://api.github.com/users/Soullivaneuh/gists{/gist_id}","starred_url":"https://api.github.com/users/Soullivaneuh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Soullivaneuh/subscriptions","organizations_url":"https://api.github.com/users/Soullivaneuh/orgs","repos_url":"https://api.github.com/users/Soullivaneuh/repos","events_url":"https://api.github.com/users/Soullivaneuh/events{/privacy}","received_events_url":"https://api.github.com/users/Soullivaneuh/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/sonata-project/SonataUserBundle/labels/help%20wanted","name":"help wanted","color":"0e8a16"},{"url":"https://api.github.com/repos/sonata-project/SonataUserBundle/labels/in%20progress","name":"in progress","color":"ededed"},{"url":"https://api.github.com/repos/sonata-project/SonataUserBundle/labels/minor","name":"minor","color":"009800"},{"url":"https://api.github.com/repos/sonata-project/SonataUserBundle/labels/review%20required","name":"review required","color":"d4c5f9"}],"state":"open","locked":false,"assignee":{"login":"Soullivaneuh","id":1698357,"avatar_url":"https://avatars.githubusercontent.com/u/1698357?v=3","gravatar_id":"","url":"https://api.github.com/users/Soullivaneuh","html_url":"https://github.com/Soullivaneuh","followers_url":"https://api.github.com/users/Soullivaneuh/followers","following_url":"https://api.github.com/users/Soullivaneuh/following{/other_user}","gists_url":"https://api.github.com/users/Soullivaneuh/gists{/gist_id}","starred_url":"https://api.github.com/users/Soullivaneuh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Soullivaneuh/subscriptions","organizations_url":"https://api.github.com/users/Soullivaneuh/orgs","repos_url":"https://api.github.com/users/Soullivaneuh/repos","events_url":"https://api.github.com/users/Soullivaneuh/events{/privacy}","received_events_url":"https://api.github.com/users/Soullivaneuh/received_events","type":"User","site_admin":false},"milestone":null,"comments":19,"created_at":"2016-05-23T23:20:40Z","updated_at":"2016-05-25T15:24:56Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/sonata-project/SonataUserBundle/pulls/745","html_url":"https://github.com/sonata-project/SonataUserBundle/pull/745","diff_url":"https://github.com/sonata-project/SonataUserBundle/pull/745.diff","patch_url":"https://github.com/sonata-project/SonataUserBundle/pull/745.patch"},"body":"### Changelog\r\n\r\n```markdown\r\n### Added\r\n- Now compatible with FOSUserBundle 2.0\r\n```\r\n\r\n### Subject\r\n\r\nPlease note this is **WIP** to **TEST** if we can make this bundle compatible with both fos-user bundle v1 and v2.\r\n\r\nI give **NO WARRANTY** this will work. It's a try. If it succeed, we can push this on a new minor.\r\n\r\nEven if this works, please note the FOSUser 2.x support, even on a stable release of sonata-user-bundle, will be a **best effort**. Indeed, it's hard to ensure the support of an unstable dependency.\r\n\r\nBefore you asking, this PR will be **NOT** about SF 3 compatibility but only FOSUser. The SF 3 compatibility will depends of the success of this PR, or the stabilization of FOSUser v2 and will be worked on another PR.\r\n\r\nI don't have sonata-user-bundle installed on any maintained private projects right now.\r\nI'll trust unit test ATM, but I'll need a lot of feedback from all of you (if you can) to test this branch on your project against both FOSUser v1 and v2 and tell me what is not working and why. Thanks for help. :+1: \r\n\r\n### To do\r\n\r\n- [ ] Make it compatible with both FOSUser v1 and v2\r\n- [ ] Update the documentation\r\n- [ ] Add an upgrade note\r\n- [ ] Remove Travis hack. Update dev-kit instead.\r\n"},"comment":{"url":"https://api.github.com/repos/sonata-project/SonataUserBundle/issues/comments/221611706","html_url":"https://github.com/sonata-project/SonataUserBundle/pull/745#issuecomment-221611706","issue_url":"https://api.github.com/repos/sonata-project/SonataUserBundle/issues/745","id":221611706,"user":{"login":"dbu","id":76576,"avatar_url":"https://avatars.githubusercontent.com/u/76576?v=3","gravatar_id":"","url":"https://api.github.com/users/dbu","html_url":"https://github.com/dbu","followers_url":"https://api.github.com/users/dbu/followers","following_url":"https://api.github.com/users/dbu/following{/other_user}","gists_url":"https://api.github.com/users/dbu/gists{/gist_id}","starred_url":"https://api.github.com/users/dbu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dbu/subscriptions","organizations_url":"https://api.github.com/users/dbu/orgs","repos_url":"https://api.github.com/users/dbu/repos","events_url":"https://api.github.com/users/dbu/events{/privacy}","received_events_url":"https://api.github.com/users/dbu/received_events","type":"User","site_admin":false},"created_at":"2016-05-25T15:24:56Z","updated_at":"2016-05-25T15:24:56Z","body":"those passes are initialized by FOSUserBundle. see https://github.com/FriendsOfSymfony/FOSUserBundle/blob/master/FOSUserBundle.php#L39-L56 and https://github.com/FriendsOfSymfony/FOSUserBundle/blob/master/DependencyInjection/FOSUserExtension.php#L56 (are you missing to configure the FOS user bundle?)\r\n\r\nyou might be seeing the effect of https://github.com/FriendsOfSymfony/FOSUserBundle/commit/08f6481c794f1d1cfb9d6eedb57b8ba08223ed08 though i think not."}}
{"actor":{"display_login":"dbu"}}