{"action":"created","issue":{"url":"https://api.github.com/repos/IdentityServer/IdentityServer4/issues/2051","repository_url":"https://api.github.com/repos/IdentityServer/IdentityServer4","labels_url":"https://api.github.com/repos/IdentityServer/IdentityServer4/issues/2051/labels{/name}","comments_url":"https://api.github.com/repos/IdentityServer/IdentityServer4/issues/2051/comments","events_url":"https://api.github.com/repos/IdentityServer/IdentityServer4/issues/2051/events","html_url":"https://github.com/IdentityServer/IdentityServer4/issues/2051","id":294371721,"number":2051,"title":"EntityFramework LINQ expression cannot be translated","user":{"login":"DominikPfeifer","id":20923469,"avatar_url":"https://avatars3.githubusercontent.com/u/20923469?v=4","gravatar_id":"","url":"https://api.github.com/users/DominikPfeifer","html_url":"https://github.com/DominikPfeifer","followers_url":"https://api.github.com/users/DominikPfeifer/followers","following_url":"https://api.github.com/users/DominikPfeifer/following{/other_user}","gists_url":"https://api.github.com/users/DominikPfeifer/gists{/gist_id}","starred_url":"https://api.github.com/users/DominikPfeifer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DominikPfeifer/subscriptions","organizations_url":"https://api.github.com/users/DominikPfeifer/orgs","repos_url":"https://api.github.com/users/DominikPfeifer/repos","events_url":"https://api.github.com/users/DominikPfeifer/events{/privacy}","received_events_url":"https://api.github.com/users/DominikPfeifer/received_events","type":"User","site_admin":false},"labels":[{"id":507816050,"url":"https://api.github.com/repos/IdentityServer/IdentityServer4/labels/bug%20report","name":"bug report","color":"b60205","default":false},{"id":777979568,"url":"https://api.github.com/repos/IdentityServer/IdentityServer4/labels/entity%20framework","name":"entity framework","color":"0052cc","default":false}],"state":"closed","locked":false,"assignee":{"login":"brockallen","id":649492,"avatar_url":"https://avatars0.githubusercontent.com/u/649492?v=4","gravatar_id":"","url":"https://api.github.com/users/brockallen","html_url":"https://github.com/brockallen","followers_url":"https://api.github.com/users/brockallen/followers","following_url":"https://api.github.com/users/brockallen/following{/other_user}","gists_url":"https://api.github.com/users/brockallen/gists{/gist_id}","starred_url":"https://api.github.com/users/brockallen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brockallen/subscriptions","organizations_url":"https://api.github.com/users/brockallen/orgs","repos_url":"https://api.github.com/users/brockallen/repos","events_url":"https://api.github.com/users/brockallen/events{/privacy}","received_events_url":"https://api.github.com/users/brockallen/received_events","type":"User","site_admin":false},"assignees":[{"login":"brockallen","id":649492,"avatar_url":"https://avatars0.githubusercontent.com/u/649492?v=4","gravatar_id":"","url":"https://api.github.com/users/brockallen","html_url":"https://github.com/brockallen","followers_url":"https://api.github.com/users/brockallen/followers","following_url":"https://api.github.com/users/brockallen/following{/other_user}","gists_url":"https://api.github.com/users/brockallen/gists{/gist_id}","starred_url":"https://api.github.com/users/brockallen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brockallen/subscriptions","organizations_url":"https://api.github.com/users/brockallen/orgs","repos_url":"https://api.github.com/users/brockallen/repos","events_url":"https://api.github.com/users/brockallen/events{/privacy}","received_events_url":"https://api.github.com/users/brockallen/received_events","type":"User","site_admin":false}],"milestone":null,"comments":7,"created_at":"2018-02-05T12:12:19Z","updated_at":"2018-02-07T07:48:23Z","closed_at":"2018-02-07T07:48:23Z","author_association":"NONE","body":"### Issue / Steps to reproduce the problem\r\n\r\n1. Use **Identityserver4.EntityFramework** package\r\n2. Enable token cleanup\r\n\r\n### Relevant parts of the log file\r\n\r\n```\r\nThe LINQ expression 'where ([x].Expiration < Convert(DateTime.UtcNow, Nullable`1))' could not be translated and will be evaluated locally.\r\n```\r\n\r\nLine:\r\nhttps://github.com/IdentityServer/IdentityServer4.EntityFramework/blob/1d7a862903b82c08f28d0787b1dafe1590e2f526/src/IdentityServer4.EntityFramework/TokenCleanup.cs#L113\r\n\r\n### Fix\r\n`.Where(x => x.Expiration.HasValue && x.Expiration.Value < DateTime.UtcNow)`"},"comment":{"url":"https://api.github.com/repos/IdentityServer/IdentityServer4/issues/comments/363684544","html_url":"https://github.com/IdentityServer/IdentityServer4/issues/2051#issuecomment-363684544","issue_url":"https://api.github.com/repos/IdentityServer/IdentityServer4/issues/2051","id":363684544,"user":{"login":"DominikPfeifer","id":20923469,"avatar_url":"https://avatars3.githubusercontent.com/u/20923469?v=4","gravatar_id":"","url":"https://api.github.com/users/DominikPfeifer","html_url":"https://github.com/DominikPfeifer","followers_url":"https://api.github.com/users/DominikPfeifer/followers","following_url":"https://api.github.com/users/DominikPfeifer/following{/other_user}","gists_url":"https://api.github.com/users/DominikPfeifer/gists{/gist_id}","starred_url":"https://api.github.com/users/DominikPfeifer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DominikPfeifer/subscriptions","organizations_url":"https://api.github.com/users/DominikPfeifer/orgs","repos_url":"https://api.github.com/users/DominikPfeifer/repos","events_url":"https://api.github.com/users/DominikPfeifer/events{/privacy}","received_events_url":"https://api.github.com/users/DominikPfeifer/received_events","type":"User","site_admin":false},"created_at":"2018-02-07T07:48:23Z","updated_at":"2018-02-07T07:48:23Z","author_association":"NONE","body":"It will be fixed in the next EfCore release, so nothing should be necessary to do.\r\n\r\nThanks for the investigation :)"}}
{"actor":{"display_login":"DominikPfeifer"}}