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

@maliming Thanks for you support. This is was resolved and it was due to data issues and not any technical problem.

Hi @maliming Thanks for your response please can you provide more details:

  1. EditionDto does not contain PlanName
  2. EditionLookupDto - Please specify the package or library to be included. I don't find it anywhere in https://docs.abp.io/api-docs/commercial/3.3/api/Volo.Saas.Host.Dtos.EditionDto.html

Screen of our code:

Also, we are you using AutoMaper instead of Volo.Abp.AutoMapper, can I use both? What is the difference between : Volo.Saas.Tenants and Volo.Saas.Host.Dtos and in which version these are being used.

  • 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:"

Thanks for the details.

May I ask, your ABP version is 4.3.1 right?

Yes 4.3.1 version

yes, I will create a project but before that can you confirm where it save this detail? The data table and who can set these flags as true/false. I believe Host and Tenant both admin can do the same.

Thanks a lot for quick response

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:"

@EngincanV

Thank you for a quick reply. I heard of this book and was really curious to download it.

This is kind of biased as we have been using Enterprise license for last 2 years and have renewed it from 5 licenses last year to 10 licenses this year.

I believe it should be available for old licenses as well :(

Showing 1 to 10 of 24 entries
Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11