{"action":"created","issue":{"url":"https://api.github.com/repos/aspnetboilerplate/aspnetboilerplate/issues/3624","repository_url":"https://api.github.com/repos/aspnetboilerplate/aspnetboilerplate","labels_url":"https://api.github.com/repos/aspnetboilerplate/aspnetboilerplate/issues/3624/labels{/name}","comments_url":"https://api.github.com/repos/aspnetboilerplate/aspnetboilerplate/issues/3624/comments","events_url":"https://api.github.com/repos/aspnetboilerplate/aspnetboilerplate/issues/3624/events","html_url":"https://github.com/aspnetboilerplate/aspnetboilerplate/issues/3624","id":340924111,"node_id":"MDU6SXNzdWUzNDA5MjQxMTE=","number":3624,"title":"An unhandled exception occurred while processing the request","user":{"login":"chenxinyong","id":4997404,"node_id":"MDQ6VXNlcjQ5OTc0MDQ=","avatar_url":"https://avatars2.githubusercontent.com/u/4997404?v=4","gravatar_id":"","url":"https://api.github.com/users/chenxinyong","html_url":"https://github.com/chenxinyong","followers_url":"https://api.github.com/users/chenxinyong/followers","following_url":"https://api.github.com/users/chenxinyong/following{/other_user}","gists_url":"https://api.github.com/users/chenxinyong/gists{/gist_id}","starred_url":"https://api.github.com/users/chenxinyong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chenxinyong/subscriptions","organizations_url":"https://api.github.com/users/chenxinyong/orgs","repos_url":"https://api.github.com/users/chenxinyong/repos","events_url":"https://api.github.com/users/chenxinyong/events{/privacy}","received_events_url":"https://api.github.com/users/chenxinyong/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-07-13T08:13:49Z","updated_at":"2018-07-15T04:16:18Z","closed_at":null,"author_association":"NONE","body":"An unhandled exception occurred while processing the request.\r\nInvalidOperationException: Navigation property 'Claims' on entity of type 'User' cannot be loaded because the entity is not being tracked. Navigation properties can only be loaded for tracked entities.\r\nMicrosoft.EntityFrameworkCore.Internal.EntityFinder<TEntity>.LoadAsync(INavigation navigation, InternalEntityEntry entry, CancellationToken cancellationToken)\r\n\r\nStack Query Cookies Headers\r\nInvalidOperationException: Navigation property 'Claims' on entity of type 'User' cannot be loaded because the entity is not being tracked. Navigation properties can only be loaded for tracked entities.\r\nMicrosoft.EntityFrameworkCore.Internal.EntityFinder<TEntity>.LoadAsync(INavigation navigation, InternalEntityEntry entry, CancellationToken cancellationToken)\r\nAbp.Domain.Repositories.RepositoryExtensions.EnsureCollectionLoadedAsync<TEntity, TPrimaryKey, TProperty>(IRepository<TEntity, TPrimaryKey> repository, TEntity entity, Expression<Func<TEntity, IEnumerable<TProperty>>> collectionExpression, CancellationToken cancellationToken) in RepositoryExtensions.cs\r\n+\r\n                await repo.EnsureCollectionLoadedAsync(entity, collectionExpression, cancellationToken);\r\nAbp.Authorization.Users.AbpUserStore<TRole, TUser>.GetClaimsAsync(TUser user, CancellationToken cancellationToken) in AbpUserStore.cs\r\n-\r\n        public virtual async Task<IList<Claim>> GetClaimsAsync([NotNull] TUser user, CancellationToken cancellationToken = default(CancellationToken))\r\n        {\r\n            cancellationToken.ThrowIfCancellationRequested();\r\n            Check.NotNull(user, nameof(user));\r\n            await UserRepository.EnsureCollectionLoadedAsync(user, u => u.Claims, cancellationToken);\r\n            return user.Claims.Select(c => new Claim(c.ClaimType, c.ClaimValue)).ToList();\r\n        }\r\n        /// <summary>\r\n        /// Adds the <paramref name=\"claims\"/> given to the specified <paramref name=\"user\"/>.\r\nMicrosoft.AspNetCore.Identity.UserManager<TUser>.GetClaimsAsync(TUser user)\r\nMicrosoft.AspNetCore.Identity.UserClaimsPrincipalFactory<TUser>.GenerateClaimsAsync(TUser user)\r\nMicrosoft.AspNetCore.Identity.UserClaimsPrincipalFactory<TUser, TRole>.GenerateClaimsAsync(TUser user)\r\nMicrosoft.AspNetCore.Identity.UserClaimsPrincipalFactory<TUser>.CreateAsync(TUser user)\r\nAbp.Authorization.AbpUserClaimsPrincipalFactory<TUser, TRole>.CreateAsync(TUser user) in AbpUserClaimsPrincipalFactory.cs\r\n+\r\n            var principal = await base.CreateAsync(user);\r\nAbp.Threading.InternalAsyncHelper.AwaitTaskWithPostActionAndFinallyAndGetResult<T>(Task<T> actualReturnValue, Func<Task> postAction, Action<Exception> finalAction) in InternalAsyncHelper.cs\r\n+\r\n                var result = await actualReturnValue;\r\nIdentityServer4.AspNetIdentity.UserClaimsFactory<TUser>.CreateAsync(TUser user) in UserClaimsFactory.cs\r\nMicrosoft.AspNetCore.Identity.SignInManager<TUser>.CreateUserPrincipalAsync(TUser user)\r\nMicrosoft.AspNetCore.Identity.SecurityStampValidator<TUser>.SecurityStampVerified(TUser user, CookieValidatePrincipalContext context)\r\nMicrosoft.AspNetCore.Identity.SecurityStampValidator<TUser>.ValidateAsync(CookieValidatePrincipalContext context)\r\nMicrosoft.AspNetCore.Authentication.Cookies.CookieAuthenticationHandler.HandleAuthenticateAsync()\r\nMicrosoft.AspNetCore.Authentication.AuthenticationHandler<TOptions>.AuthenticateAsync()\r\nMicrosoft.AspNetCore.Authentication.AuthenticationService.AuthenticateAsync(HttpContext context, string scheme)\r\nMicrosoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)\r\nMicrosoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.Invoke(HttpContext context)\r\n\r\nShow raw exception details"},"comment":{"url":"https://api.github.com/repos/aspnetboilerplate/aspnetboilerplate/issues/comments/405066155","html_url":"https://github.com/aspnetboilerplate/aspnetboilerplate/issues/3624#issuecomment-405066155","issue_url":"https://api.github.com/repos/aspnetboilerplate/aspnetboilerplate/issues/3624","id":405066155,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNTA2NjE1NQ==","user":{"login":"maliming","id":6908465,"node_id":"MDQ6VXNlcjY5MDg0NjU=","avatar_url":"https://avatars1.githubusercontent.com/u/6908465?v=4","gravatar_id":"","url":"https://api.github.com/users/maliming","html_url":"https://github.com/maliming","followers_url":"https://api.github.com/users/maliming/followers","following_url":"https://api.github.com/users/maliming/following{/other_user}","gists_url":"https://api.github.com/users/maliming/gists{/gist_id}","starred_url":"https://api.github.com/users/maliming/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maliming/subscriptions","organizations_url":"https://api.github.com/users/maliming/orgs","repos_url":"https://api.github.com/users/maliming/repos","events_url":"https://api.github.com/users/maliming/events{/privacy}","received_events_url":"https://api.github.com/users/maliming/received_events","type":"User","site_admin":false},"created_at":"2018-07-15T04:16:18Z","updated_at":"2018-07-15T04:16:18Z","author_association":"CONTRIBUTOR","body":"@chenxinyong \r\nThe new template project has been fixed. If it is an old template, you need to manually change it."}}
{"actor":{"display_login":"maliming"}}