Activities of "Yaduraj"

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

  • ABP Framework version: v4.3.1
  • UI type: Angular / MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes / no
  • Exception message and stack trace:

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

  • Steps to reproduce the issue:" Deploy code in AWS code pipeline that requires abp commercial packages to be restored
  • ABP Framework version: 4.3.1
  • UI type: Angular / .Net Core
  • DB provider: EF Core / PostgreSql
  • Exception message and stack trace:

Timestamp - 09/29/2022 06:31:39 +00:00 | Level - Error | Message 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]] { "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.List1[[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, Dictionary2 destinationDictionary, Nullable1 definitionChecks, String[] ignoredProperties) at Volo.Abp.ObjectExtending.ExtensibleObjectMapper.MapExtraPropertiesTo[TSource,TDestination](Dictionary2 sourceDictionary, Dictionary2 destinationDictionary, Nullable1 definitionChecks, String[] ignoredProperties) at AutoMapper.AbpAutoMapperExtensibleDtoExtensions.<>c__DisplayClass0_02.&lt;MapExtraProperties&gt;b__3(TSource source, TDestination destination, ExtraPropertyDictionary extraProps) at lambda_method5808(Closure , Object , List1 , 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 , List1 , 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.CastleAsyncAbpInterceptorAdapter1.InterceptAsync[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo, Func3 proceed) at Castle.DynamicProxy.AsyncInterceptorBase.ProceedAsynchronous[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo) at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapterWithReturnValue1.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, Func3 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.CastleAsyncAbpInterceptorAdapter1.InterceptAsync[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo, Func3 proceed) at Castle.DynamicProxy.AsyncInterceptorBase.ProceedAsynchronous[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo) at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapterWithReturnValue1.ProceedAsync() at Volo.Abp.Validation.ValidationInterceptor.InterceptAsync(IAbpMethodInvocation invocation) at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter1.InterceptAsync[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo, Func3 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.CastleAsyncAbpInterceptorAdapter1.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.&lt;InvokeActionMethodAsync&gt;g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask1 actionResultValueTask) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.

  • Steps to reproduce the issue:" NA

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.

  • ABP Framework version: v4.3.1
  • UI type: Angular
  • DB provider: EF Core / PostgreSql
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

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.

  • ABP Framework version: v4.3.1
  • UI type: Angular
  • DB provider: EF Core / PostgreSql
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

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.**

  • ABP Framework version: v4.3.2
  • UI type: Angular / MVC / Blazor
  • DB provider: EF Core/PostgreSql
  • Tiered (MVC) or Identity Server Separated (Angular): yes / no
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

Hi I have an enterprise license of abp.io and it says that E-Book: Mastering ABP Framework is included as pdf. When I click on the link it redirects to Amazon website.

How can I download this E-Book: Mastering ABP Framework pdf?

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:

  • Creates Host database
  • Creates Tenant database with same Db Schema as Host with default Admin user
  • For other services, We create database using Script Migration

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?

  • ABP Framework version: v4.3.1
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

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.

  1. How can we add these Bank Entities to a global database or shared database.

  2. 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)

  3. How can we implement Domain service for Bank Information like IdentityManager

  4. 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!

  • ABP Framework version: v4.3.1
  • UI type: Angular / MVC
  • DB provider: EF Core / PostgreSQL

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.

  • ABP Framework version: v4.3.1
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

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

  • ABP Framework version: v3.0.4
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
Showing 1 to 10 of 11 entries
Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11