We are facing this issue since yesterday and our multiple codepipelines are impacted due to this. Please provide a way to verify if its the issue from our code or configurations. OR source https://nuget.abp.io/xxx/v3/index.json. Also, https://nuget.abp.io returning 503 Service Temporarily Unavailable
Step 12/21 : RUN dotnet restore ---> Running in d0eaabe0faec Determining projects to restore... /usr/share/dotnet/sdk/5.0.408/NuGet.targets(131,5): error : Unable to load the service index for source https://nuget.abp.io/xxx/v3/index.json. [/src/SCV.Litmus/aspnet-core/microservices/SCV.Litmus.ProfileManagement.HttpApi.Host/SCV.Litmus.ProfileManagement.HttpApi.Host.csproj] /usr/share/dotnet/sdk/5.0.408/NuGet.targets(131,5): error : Response status code does not indicate success: 503 (Service Unavailable). [/src/SCV.Litmus/aspnet-core/microservices/SCV.Litmus.ProfileManagement.HttpApi.Host/SCV.Litmus.ProfileManagement.HttpApi.Host.csproj] The command '/bin/sh -c dotnet restore' returned a non-zero code: 1
Timestamp - 09/29/2022 06:31:39 +00:00 | Level - Error | Message Error mapping types. Mapping types: Object -> List
1
System.Object -> System.Collections.Generic.List`1[[Volo.Saas.Host.Dtos.SaasTenantDto, Volo.Saas.Host.Application.Contracts, Version=4.3.1.0, Culture=neutral, PublicKeyToken=null]] {
"SourceContext": {
"Value": "Volo.Abp.AspNetCore.Mvc.ExceptionHandling.AbpExceptionFilter"
},
"ActionId": {
"Value": "72a05745-907d-44f5-a405-7ec0d6cd851a"
},
"ActionName": {
"Value": "Volo.Saas.Host.TenantController.GetListAsync (Volo.Saas.Host.HttpApi)"
},
"RequestId": {
"Value": "0HML1D7DDQJB6:00000002"
},
"RequestPath": {
"Value": "/api/saas/tenants"
},
"ConnectionId": {
"Value": "0HML1D7DDQJB6"
}
}
Exception - AutoMapper.AutoMapperMappingException: Error mapping types.
Mapping types:
Object -> List1 System.Object -> System.Collections.Generic.List
1[[Volo.Saas.Host.Dtos.SaasTenantDto, Volo.Saas.Host.Application.Contracts, Version=4.3.1.0, Culture=neutral, PublicKeyToken=null]]
---> AutoMapper.AutoMapperMappingException: Error mapping types.
Mapping types: Tenant -> SaasTenantDto Volo.Saas.Tenants.Tenant -> Volo.Saas.Host.Dtos.SaasTenantDto
Type Map configuration: Tenant -> SaasTenantDto Volo.Saas.Tenants.Tenant -> Volo.Saas.Host.Dtos.SaasTenantDto
Destination Member: ExtraProperties
---> System.ArgumentNullException: Value cannot be null. (Parameter 'sourceDictionary')
at Volo.Abp.Check.NotNull[T](T value, String parameterName)
at Volo.Abp.ObjectExtending.ExtensibleObjectMapper.MapExtraPropertiesTo(Type sourceType, Type destinationType, Dictionary2 sourceDictionary, Dictionary
2 destinationDictionary, Nullable1 definitionChecks, String[] ignoredProperties) at Volo.Abp.ObjectExtending.ExtensibleObjectMapper.MapExtraPropertiesTo[TSource,TDestination](Dictionary
2 sourceDictionary, Dictionary2 destinationDictionary, Nullable
1 definitionChecks, String[] ignoredProperties)
at AutoMapper.AbpAutoMapperExtensibleDtoExtensions.<>c__DisplayClass0_02.<MapExtraProperties>b__3(TSource source, TDestination destination, ExtraPropertyDictionary extraProps) at lambda_method5808(Closure , Object , List
1 , ResolutionContext )
--- End of inner exception stack trace ---
at lambda_method5808(Closure , Object , List1 , ResolutionContext ) --- End of inner exception stack trace --- at lambda_method5808(Closure , Object , List
1 , ResolutionContext )
at Volo.Abp.ObjectMapping.DefaultObjectMapper.Map[TSource,TDestination](TSource source)
at Volo.Saas.Host.TenantAppService.GetListAsync(GetTenantsInput input)
at Castle.DynamicProxy.AsyncInterceptorBase.ProceedAsynchronous[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo)
at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapterWithReturnValue1.ProceedAsync() at Volo.Abp.Authorization.AuthorizationInterceptor.InterceptAsync(IAbpMethodInvocation invocation) at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter
1.InterceptAsync[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo, Func3 proceed) at Castle.DynamicProxy.AsyncInterceptorBase.ProceedAsynchronous[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo) at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapterWithReturnValue
1.ProceedAsync()
at Volo.Abp.Auditing.AuditingInterceptor.ProceedByLoggingAsync(IAbpMethodInvocation invocation, IAuditingHelper auditingHelper, IAuditLogScope auditLogScope)
at Volo.Abp.Auditing.AuditingInterceptor.InterceptAsync(IAbpMethodInvocation invocation)
at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter1.InterceptAsync[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo, Func
3 proceed)
at Castle.DynamicProxy.AsyncInterceptorBase.ProceedAsynchronous[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo)
at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapterWithReturnValue1.ProceedAsync() at Volo.Abp.GlobalFeatures.GlobalFeatureInterceptor.InterceptAsync(IAbpMethodInvocation invocation) at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter
1.InterceptAsync[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo, Func3 proceed) at Castle.DynamicProxy.AsyncInterceptorBase.ProceedAsynchronous[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo) at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapterWithReturnValue
1.ProceedAsync()
at Volo.Abp.Validation.ValidationInterceptor.InterceptAsync(IAbpMethodInvocation invocation)
at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter1.InterceptAsync[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo, Func
3 proceed)
at Castle.DynamicProxy.AsyncInterceptorBase.ProceedAsynchronous[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo)
at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapterWithReturnValue1.ProceedAsync() at Volo.Abp.Uow.UnitOfWorkInterceptor.InterceptAsync(IAbpMethodInvocation invocation) at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter
1.InterceptAsync[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo, Func3 proceed) at lambda_method5764(Closure , Object ) at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.AwaitableObjectResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask
1 actionResultValueTask)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.
We have customized "AbpUsers" by adding a custom field "Status" for value Active/Deactivated. We manipulate this field based on Security Logging records for an login success action, to check the last login information. Somehow we have seen that "Status" field got updated for all the users as Deactivated. We are unsure if the success login actions are being recorded properly. Also, Security Logging would have too much records an might impact the performance.
Please guide if ABP framework v4.3.1 provides any API or implementation to activate/deactivate users if not login within a define time.
We have to load Menu based on permissions, we used lazy loading but due to some reason, on page load all menu are displayed. After sometime, only permitted menu remain on page and other get disappeared. The expected behavior is to load navigaotors/manu only based Roles/Permissions.
How can we achieve that? Are we missing something in Angular code.
We are receiving following error even if we have not set any SignIn settings. ** you are not allowed to login! You need to confirm your email/phone number.**
We have solution that contains multiple microservices. One of them contains host entities and data others are tenant specific entity and services. We haave DbMigrator console app in our host project only. Now we are able to run DbMigrator as console app in development and migrate host and tenant database that is:
How to run this DbMigrator in a Production server. Can we control DbMigrator to migrate all the databases we need to migrate? We see there is option to "Apply Database Migrations" in Saas module but it does not seem to work. What sort of implementation it requires?
We are working on an Application where each Tenant will share some common data say: Bank Information. Previously, We kept that bank information (All the bank related tables ) in Tenant Scope. Now we want to move the Bank information to a global database where each tenant can access it. Our current approach is 'Database per tenant'
**For Example: ** I have Tennat_1 and it is mapped with Some banks (say ABC, XYZ) Now If we create Tenant_2, we should be able to map these Banks to this new Tenant and other Tenant(s). So on Login, each Tenant will acess their own mapped Bank.
We also wanna manage this Bank data at global level where Tenant is managed.
How can we add these Bank Entities to a global database or shared database.
If added, then how Tenant will access it? Do we need to extend the code in order to acess Global Bank Enitites? ( We seemlessly wants to access these Bank entites, like CurrentUser and CurrentTenant)
How can we implement Domain service for Bank Information like IdentityManager
Please suggest suitable Database Architecture and approach.
Kindly provide the solution as soon as possible.** Also, Let us know if we can get support via calls or online meetings.**
Thanks!
Hi,
We are getting following error while running/debugging the unit test cases.
Volo.Abp.AbpInitializationException : An error occurred during the initialize Volo.Abp.Modularity.OnApplicationInitializationModuleLifecycleContributor phase of the module SCV.Litmus.InvoiceManagement.InvoiceManagementTestBaseModule, SCV.Litmus.InvoiceManagement.TestBase, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null: SQLite Error 1: 'no such table: AbpSettings'.. See the inner exception for details. ---- Microsoft.Data.Sqlite.SqliteException : SQLite Error 1: 'no such table: AbpSettings'.
This error is being thrown from the OnApplicationInitialization(...) while we call SeedTestData(context) of TestBaseModule class. Please find attached snapshot-
Before this, we were getting error The active test run was aborted. Reason: Test host process crashed
see issue
So we added "AbpLicenseCode" in Test project's appsetting.config, then the above error started to come.
Note: Its a bloacker for our project and we can not give you minimal project to reproduce the issue. So let us know if we can connect through Zoom.
We have changed version from v3.0.4 to v4.3.1, please help me for resolve this issue. what i am missing.
I have to test a client in my app which will further be commnicating to a third party rest Api. As of now I would like to Mock or fake that Api in my Unit Testing project. Does ABP provides integration to any mock framework like Moq. I specifically want to Unit Test API Calls. How can I mock API calls in abp framework for Unit Testing using xUnit/Moq