hi
Can you share the steps that you tried? I will try to reproduce the problem.
If you are using IIS. Please share your web .config
hi
I need more detail info, such as abp version, error logs, browser console logs.
liming.ma@volosoft.com
hi
Can you share more logs? Including normal logs before and after the error occurred.
hi
Can you repro the problem use the template project then share it with me? liming.ma@volosoft.com
hi
What's Exception message and stack trace
?
Can you repro the problem use the template project then share it with me? liming.ma@volosoft.com
hi Repunjay
Steps to reproduce the issue
You can also create a new project that using latest version.then compare the code.
https://docs.abp.io/en/abp/latest/Migration-Guides/Index https://docs.abp.io/en/commercial/latest/migration-guides/v4_3#identity-pro-module
hi scott7106
I checked the upgrade changes and did not find any reason to cause your problem. Can you compare the code of your project and the new project? Including database migration and structure?
hi
The application service will try to get all permissions when you call the its method, even if the above error does not occur, it will be an infinite loop.
I guess the GetSomeData
method is async. The Define
method of PermissionDefinitionProvider
is sync. So there is async over sync
problem.
You can get dynamic permissions through other ways. Sync methods are preferred.
Or call async method by AsyncHelper
var resutl = AsyncHelper.RunSync(() => serviceProvider.GetRequiredService<ISchedulerFactory>().GetScheduler())