Skip to content
This repository has been archived by the owner on Jan 24, 2020. It is now read-only.

An unhandled exception #27

Open
hmuhdkamran opened this issue Sep 27, 2018 · 0 comments
Open

An unhandled exception #27

hmuhdkamran opened this issue Sep 27, 2018 · 0 comments

Comments

@hmuhdkamran
Copy link
Collaborator

The engine is generating an issue while listing users in admin section, which is
InvalidOperationException: Error generated for warning 'Microsoft.EntityFrameworkCore.Infrastructure.DetachedLazyLoadingWarning: An attempt was made to lazy-load navigation property 'Roles' on detached entity of type 'UserProxy'. Lazy-loading is not supported for detached entities or entities that are loaded with 'AsNoTracking()'.'. This exception can be suppressed or logged by passing event ID 'CoreEventId.DetachedLazyLoadingWarning' to the 'ConfigureWarnings' method in 'DbContext.OnConfiguring' or 'AddDbContext'.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant