Hi all, this time we are using a module template to which we want to apply some integration tests, create all the file structure as recommended in the documentation for testing an application service and we are getting the error you can see below, it seems to be happening in the SeedTestData method of the "TestBaseModule" but we can't figure out more than that, can you point us in the right direction?
SA.Modules.Reports.EntityFrameworkCore.Applications.Reports.EfCoreReportAppService_Tests.Should_Get_List_Of_Reports Source: ReportAppService_Tests.cs line 24 Duration: 1 ms
Message: Volo.Abp.AbpInitializationException : An error occurred during the initialize Volo.Abp.Modularity.OnApplicationInitializationModuleLifecycleContributor phase of the module SA.Modules.Reports.ReportsTestBaseModule, SA.Modules.Reports.TestBase, Version=0.1.0.0, Culture=neutral, PublicKeyToken=null: Value cannot be null. (Parameter 'source'). See the inner exception for details. ---- System.ArgumentNullException : Value cannot be null. (Parameter 'source')
Stack Trace:
ModuleManager.InitializeModules(ApplicationInitializationContext context)
AbpApplicationBase.InitializeModules()
AbpApplicationWithExternalServiceProvider.Initialize(IServiceProvider serviceProvider)
AbpIntegratedTest1.ctor() ReportsTestBase
1.ctor()
ReportsApplicationTestBase1.ctor() ReportAppService_Tests
1.ctor() line 18
EfCoreReportAppService_Tests.ctor()
RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions)
----- Inner Stack Trace -----
ThrowHelper.ThrowArgumentNullException(ExceptionArgument argument)
Enumerable.Select[TSource,TResult](IEnumerable1 source, Func
2 selector)
PermissionDataSeeder.SeedAsync(String providerName, String providerKey, IEnumerable1 grantedPermissions, Nullable
1 tenantId)
PermissionDataSeedContributor.SeedAsync(DataSeedContext context)
DataSeeder.SeedAsync(DataSeedContext context)
AsyncInterceptorBase.ProceedAsynchronous(IInvocation invocation, IInvocationProceedInfo proceedInfo)
CastleAbpMethodInvocationAdapter.ProceedAsync()
UnitOfWorkInterceptor.InterceptAsync(IAbpMethodInvocation invocation)
CastleAsyncAbpInterceptorAdapter1.InterceptAsync(IInvocation invocation, IInvocationProceedInfo proceedInfo, Func
3 proceed)
<<SeedTestData>b__0>d.MoveNext() line 61
--- End of stack trace from previous location ---
TaskExtensions.WaitAndUnwrapException(Task task)
<>c__DisplayClass15_0.<Run>b__0(Task t)
ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
TaskExtensions.WaitAndUnwrapException(Task task)
AsyncContext.Run(Func1 action) AsyncHelper.RunSync(Func
1 action)
ReportsTestBaseModule.SeedTestData(ApplicationInitializationContext context) line 57
ReportsTestBaseModule.OnApplicationInitialization(ApplicationInitializationContext context) line 52
OnApplicationInitializationModuleLifecycleContributor.Initialize(ApplicationInitializationContext context, IAbpModule module)
ModuleManager.InitializeModules(ApplicationInitializationContext context)
"Hello, I have a solution that is working perfectly. I need to be able to do 'impersonation,' so I followed all the recommended configuration steps from the documentation, and it works well locally. However, when I deploy it to Azure and try to impersonate a user, I get the following message: 'The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.' I’ve been reviewing the configurations, and they seem correct. I should clarify that once deployed on Azure, the application uses an ADFS server for SSO authentication. I would appreciate it if you could guide me on which configurations I should check. Best regards."
1 -> <TargetFramework>net8.0</TargetFramework> updated to 9 2 -> The "abp update" command was run. 3 -> All NuGet packages were updated. 4 -> Replaced "UseStaticFiles" with "MapStaticAssets" The project compiles correctly and runs well locally. However, once deployed in the development branch, it breaks and shows messages in the browser console. The error occurs in all the web projects: (web/ portal & ids. Can you guys provide some advice on how to solve it?
hard to reproduce, the error shows up after the inclusion of a in house developed module
I was following the instructions in the tutorial (section: Authorization), Once Applied to the BookStoreAppService the policies, //GetPolicyName = BookStorePermissions.Books.Default; //GetListPolicyName = BookStorePermissions.Books.Default; //CreatePolicyName = BookStorePermissions.Books.Create; //UpdatePolicyName = BookStorePermissions.Books.Edit; //DeletePolicyName = BookStorePermissions.Books.Delete;
my web app is unable to consume the exposed API and shows the message in the picture. I wonder if I need to add some permission to the client app or something like that, should I be adding any configuration via UI? Important to highlight this is a tiered app
Hi there, I trying to integrate ABP Identity Server with an external Identity provider, The idea is to integrate the project with ADFS using saml2 as communication protocol, I want to use ComponentSpace.saml2 component to manage this communication, this component is compatible con Identity Server, and in an Identity Server Vanilla project instance, the component adds a "SAML" btn to the login page as can be seen in the image. I was wondering if Abp provides support for this type of integration and if so any documentation that I can use other than the one in the link which hasn't been helpful in this case. Thanks in advance
https://docs.abp.io/en/abp/3.1/Authentication/Social-External-Logins