hi
Can you set a breakpoint to see the Type of _distributedLock
? It should be MedallionAbpDistributedLock
.
Please also inject the IDistributedLockProvider
and check its Type. It should be RedisDistributedSynchronizationProvider
Thanks.
hi
public class MyModuleApplicationModule : AbpModule
{
public override void ConfigureServices(ServiceConfigurationContext context)
{
context.Services.AddAutoMapperObjectMapper<MyModuleApplicationModule>();
Configure<AbpAutoMapperOptions>(options =>
{
options.AddMaps<MyModuleApplicationModule>(validate: true);
});
context.Services.OnRegistered(CheckBaseModelProviderInterceptorRegistrar.RegisterIfNeeded);
}
}
public class CheckBaseModelProviderInterceptorRegistrar
{
public static void RegisterIfNeeded(IOnServiceRegistredContext context)
{
if (ShouldIntercept(context.ImplementationType))
{
context.Interceptors.TryAdd<CheckBaseModelProviderInterceptor>();
}
}
private static bool ShouldIntercept(Type type)
{
return !DynamicProxyIgnoreTypes.Contains(type) &&
//typeof(ISampleAppService).IsAssignableFrom(type) && // Uncomment this line if you want to restrict to specific interfaces
(type.GetCustomAttributes(true).OfType<CheckBaseModelProviderAttribute>().Any() ||
type.GetMethods().Any(x => x.IsDefined(typeof(CheckBaseModelProviderAttribute), inherit: true)));
}
}
hi
You can click the user avatar to view all questions related to a user. Also, support search from the index page
https://abp.io/support/users/caginsozgen
https://abp.io/support/questions?Sort=LastActivityDate-desc&CurrentPage=1&CreatorUserId=3a156433-239b-2e3a-27bd-fc6d13d7cbf5&HidePinnedQuestions=True
Thanks.
hi
This problem was addressed in 9.2.2. Can you share a project that reproduces the problem? I will add a test to prevent this from happening in the future.
liming.ma@volosoft.com https://github.com/abpframework/abp/pull/23188
Thanks
Thanks @adhamawadhi 👍
Hi
You can share the test project , I will add the code for interception.
Thanks.
Hi
I will create an internal issue and discuss it with team.
Thanks
Thanks, I will create an internal issue and discuss it with team.
hi tony.gayte
Can you try to use abp get-source Volo.Abp.LeptonXTheme
?
Have you tried downloading the source code from suite?
hi
We are enhancing AI support features, which will soon be able to review multiple custom replies and try to provide solutions.
It doesn't currently support direct Chat Q&A, and our support team needs to get involved.
Thanks.