{"action":"opened","issue":{"url":"https://api.github.com/repos/volkanceylan/Serenity/issues/2399","repository_url":"https://api.github.com/repos/volkanceylan/Serenity","labels_url":"https://api.github.com/repos/volkanceylan/Serenity/issues/2399/labels{/name}","comments_url":"https://api.github.com/repos/volkanceylan/Serenity/issues/2399/comments","events_url":"https://api.github.com/repos/volkanceylan/Serenity/issues/2399/events","html_url":"https://github.com/volkanceylan/Serenity/issues/2399","id":236078071,"number":2399,"title":"Change Language causing infinite loop stackoverflowexception","user":{"login":"jas2008","id":5105376,"avatar_url":"https://avatars1.githubusercontent.com/u/5105376?v=3","gravatar_id":"","url":"https://api.github.com/users/jas2008","html_url":"https://github.com/jas2008","followers_url":"https://api.github.com/users/jas2008/followers","following_url":"https://api.github.com/users/jas2008/following{/other_user}","gists_url":"https://api.github.com/users/jas2008/gists{/gist_id}","starred_url":"https://api.github.com/users/jas2008/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jas2008/subscriptions","organizations_url":"https://api.github.com/users/jas2008/orgs","repos_url":"https://api.github.com/users/jas2008/repos","events_url":"https://api.github.com/users/jas2008/events{/privacy}","received_events_url":"https://api.github.com/users/jas2008/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-06-15T05:03:50Z","updated_at":"2017-06-15T05:03:50Z","closed_at":null,"body":"hi,\r\n\r\nWhenever I switch language to other language, it switched correctly, But when I click any link in menu, it ran into stackoverflow exception. And I could not run the application anymore, because of cookie.value now had changed to other language.\r\n\r\n\r\n\r\nIn Application_BeginRequest :                    \r\n\r\n       var culture = CultureInfo.GetCultureInfo(cookie.Value);\r\n       Thread.CurrentThread.CurrentUICulture = culture;\r\n\r\nwill loop infinitely causing stackoverflow exception.  \r\n\r\n\r\nIt will only run if I comment out the CurrentUICulture code. And change culture back to en-US.\r\n\r\n\r\nCan't figure out where went wrong.\r\n\r\nHelp appreciated.\r\n\r\nThanks.\r\n\r\n\r\nBuild with :\r\n-serenity version : 2.9.21\r\n-Multi Tenant using non integer key"}}
{"actor":{"display_login":"jas2008"}}