hi
We will publish an event and update the entity when a navigation property of an entity has changed
But you can disable it for a specific entity.
Please try to add MyAbpEfCoreNavigationHelper to your EF Core project.
using Microsoft.EntityFrameworkCore.ChangeTracking;
using Volo.Abp.DependencyInjection;
using Volo.Abp.EntityFrameworkCore.ChangeTrackers;
using Volo.Abp.OpenIddict.Tokens;
[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(TaskType))
{
return;
}
base.ChangeTracker_Tracked(sender, e);
}
public override void ChangeTracker_StateChanged(object? sender, EntityStateChangedEventArgs e)
{
if (e.Entry.Entity.GetType() == typeof(TaskType))
{
return;
}
base.ChangeTracker_StateChanged(sender, e);
}
}
And we add a selector to ignore some entities >= 9.1.1
https://github.com/abpframework/abp/pull/22315/files
hi
Can you share the two entity class code?
TaskType and Task
You can also Using the DisableTracking extension method to do the same thing as IReadOnlyRepository
https://abp.io/docs/9.0/framework/architecture/domain-driven-design/repositories#repository-extension-methods-for-change-tracking
Thanks.
hi
We're encountering concurrency errors when making parallel requests, even when the entity remains unmodified.
What entity changed?
Can you share some code?
The entity will be changed if its child entities have changed.
AbpEntityChangeOptions => PublishEntityUpdatedEventWhenNavigationChanges
Thanks.
hi
Can you share a test project that inlcude your ms external login info?
liming.ma@volosoft.com
Thanks.
hi
You can disable the lib check with
Configure<AbpMvcLibsOptions>(options =>
{
options.CheckLibs = false;
});
If you can share a project, I'll download and review it.
liming.ma@volosoft.com
Thanks.
You can disable the lib check with
Configure<AbpMvcLibsOptions>(options =>
{
options.CheckLibs = false;
});
hi
Do you have a wwwroot folder in your HttpApi.Host project?
Can you share a screenshot of your project structure?
Thanks.
hi
The logic for external login is implemented in the Login and Register classes.
You can download the Account Pro module source code to check the source code.
https://abp.io/support/questions/632/How-can-I-download-the-source-code-of-the-framework-Angular-packages-theme-and-pro-modules
Thanks.