0
khalid created
- ABP Framework version: v9.0.0
- UI Type: Angular
- Database System: EF Core (SQL Server, Oracle)
- Tiered (for MVC) or Auth Server Separated (for Angular): yes
- Exception message and full stack trace: the data you have submitted has already been changed by another user. Discard your changes and try again
- Steps to reproduce the issue:
- Open the login page.
- Enter a valid username and password.
- Click "Login."
- An error message appears (screenshot attached).
- Retry logging in a couple of times.
- Eventually, the login is successful.
After upgrading our ABP Framework to version 9, users are experiencing intermittent login failures. When entering a valid username and password, an error appears. However, after trying a couple of times, users are eventually able to log in successfully. This issue affects all users consistently.
3 Answer(s)
-
0
hi
Can you share the logs.txt of the backend app?
Thanks
liming.ma@volosoft.com
-
0
-
0
hi
Can you try to add
MyAbpEfCoreNavigationHelper
to your Auth(EF Core) website?using Microsoft.EntityFrameworkCore.ChangeTracking; using Volo.Abp.DependencyInjection; using Volo.Abp.EntityFrameworkCore.ChangeTrackers; using Volo.Abp.OpenIddict.Tokens; namespace Pusula.Training.HealthCare.EntityFrameworkCore; [Dependency(ReplaceServices = true)] [ExposeServices(typeof(AbpEfCoreNavigationHelper))] public class MyAbpEfCoreNavigationHelper : AbpEfCoreNavigationHelper { public override void ChangeTracker_Tracked(object? sender, EntityTrackedEventArgs e) { if (e.Entry.Entity.GetType() == typeof(OpenIddictToken)) { return; } base.ChangeTracker_Tracked(sender, e); } public override void ChangeTracker_StateChanged(object? sender, EntityStateChangedEventArgs e) { if (e.Entry.Entity.GetType() == typeof(OpenIddictToken)) { return; } base.ChangeTracker_StateChanged(sender, e); } }