Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove unnecessary call to AsNoTracking #1043

Merged

Conversation

brockallen
Copy link
Member

The ServerSideSessionStore.DeleteSessionAsync API was using the EF helper AsNoTracking on the entity it needed to delete. This prevents the record from being deleted in the database. This is a bug, so the call has been removed.

@brockallen brockallen added the bug Something isn't working label Oct 11, 2022
@brockallen brockallen added this to the 6.1.7 milestone Oct 11, 2022
@leastprivilege leastprivilege merged commit 96a6d0b into releases/6.1.x Oct 12, 2022
@brockallen brockallen deleted the brock/6.1.x-ef-session-store-tracking-bug branch October 12, 2022 14:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants