{"action":"created","issue":{"url":"https://api.github.com/repos/OrchardCMS/Orchard/issues/6192","labels_url":"https://api.github.com/repos/OrchardCMS/Orchard/issues/6192/labels{/name}","comments_url":"https://api.github.com/repos/OrchardCMS/Orchard/issues/6192/comments","events_url":"https://api.github.com/repos/OrchardCMS/Orchard/issues/6192/events","html_url":"https://github.com/OrchardCMS/Orchard/issues/6192","id":122608719,"number":6192,"title":"Stackoverflow exception when implementing IAuthenticationService","user":{"login":"mattcowen","id":7049239,"avatar_url":"https://avatars.githubusercontent.com/u/7049239?v=3","gravatar_id":"","url":"https://api.github.com/users/mattcowen","html_url":"https://github.com/mattcowen","followers_url":"https://api.github.com/users/mattcowen/followers","following_url":"https://api.github.com/users/mattcowen/following{/other_user}","gists_url":"https://api.github.com/users/mattcowen/gists{/gist_id}","starred_url":"https://api.github.com/users/mattcowen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattcowen/subscriptions","organizations_url":"https://api.github.com/users/mattcowen/orgs","repos_url":"https://api.github.com/users/mattcowen/repos","events_url":"https://api.github.com/users/mattcowen/events{/privacy}","received_events_url":"https://api.github.com/users/mattcowen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-12-16T21:40:36Z","updated_at":"2015-12-21T20:22:10Z","closed_at":null,"body":"In the latest 1.9.x, when implementing the interface IAuthenticationService in a custom module Autofac generates a stackoverflowexception. The first occurrence seems to be in WorkContextImplementation on line 15.\r\n\r\n```_workContextStateProviders = componentContext.Resolve<IEnumerable<IWorkContextStateProvider>>();```\r\n\r\nI tried to add the following to my implementation of IAuthenticationService but it didn't make a difference.\r\n\r\nDoes anyone else see this?\r\n\r\n``` [OrchardSuppressDependency(\"Orchard.Security.Providers.FormsAuthenticationService\")] ```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/OrchardCMS/Orchard/issues/comments/166407930","html_url":"https://github.com/OrchardCMS/Orchard/issues/6192#issuecomment-166407930","issue_url":"https://api.github.com/repos/OrchardCMS/Orchard/issues/6192","id":166407930,"user":{"login":"jtkech","id":8586360,"avatar_url":"https://avatars.githubusercontent.com/u/8586360?v=3","gravatar_id":"","url":"https://api.github.com/users/jtkech","html_url":"https://github.com/jtkech","followers_url":"https://api.github.com/users/jtkech/followers","following_url":"https://api.github.com/users/jtkech/following{/other_user}","gists_url":"https://api.github.com/users/jtkech/gists{/gist_id}","starred_url":"https://api.github.com/users/jtkech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jtkech/subscriptions","organizations_url":"https://api.github.com/users/jtkech/orgs","repos_url":"https://api.github.com/users/jtkech/repos","events_url":"https://api.github.com/users/jtkech/events{/privacy}","received_events_url":"https://api.github.com/users/jtkech/received_events","type":"User","site_admin":false},"created_at":"2015-12-21T20:22:10Z","updated_at":"2015-12-21T20:22:10Z","body":"@mattcowen good to know it can solve your issue.\r\n\r\nThe 1.9.x branch is periodically merged in the dev branch, but, normally, what is in the dev branch will be used for the next 1.10 release...\r\n\r\nBut, if @sebastienros agree, i can do a PR that target 1.9.x.\r\n\r\nBest"}}