Activités de "david.hurtado"

Question

We have an error displaying the user's image in the production environment. The image is not displayed and when I inspect the element, it indicates that there is an error with the API. However, when I test it in development, it works fine.

  • ABP Framework version: v7.0.1
  • UI type: Blazor
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • Example:
  • When i open the image in a new tag i get this error:
  • {"error":{"code":"NotFound","message":"Not Found","details":null,"data":null,"validationErrors":null}}
  • From this URL:
  • https://example.frontendserver.com/api/account/profile-picture-file/385c0c65-7a0f-61d6-ce6b-39f9bcba9c51
  • Steps to reproduce the issue:"
  • This error occurs in production, it does not happen in development mode.
  • If I access to the user account the image shows correctly
  • For example:
  • Thank you for any idea you can give me regarding how to solve this error?"

Thanks it's work Ok

We use Authorization Service, to validate and enable items for menu. Sometimes if the user remain in the app without make any activity all the permissions return in false, when the user change language all permissions sets agian with the true values.

  • ABP Framework version: v7.0.1
  • UI type: Blazor Server
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • We migrate the app from abp version 4.4.0 to 7.0.1
  • Steps to reproduce the issue:"
  • This is an example of code that we use: AuthorizationService.AuthorizeAsync(TicketsPermissions.Tickets.Default)).Succeeded;

This code return false even the user have the access set.

This is another example:

if ((await AuthorizationService.AuthorizeAsync(TicketsPermissions.Tickets.Default)).Succeeded

{

context.Menu.Items.Insert(MenuIndex++,

new ApplicationMenuItem( TicketsMenus.Tickets, l["Menu:Tickets"], url: "/tickets", icon: "fas fa-headset", order: MenuIndex)

);

}

When we debug this procedure AuthorizationService.AuthorizeAsync(TicketsPermissions.Tickets.Default)).Succeeded return false and the screen user doesn't paint with the respective menu item.

I made changes that you suggest, but still doesn't have the normal behavior This is my package.json: Run the command But still don't works properly

Good Day @maliming Thanks Its work properly.

Hamburger menu doesn't show complete, in mobile UI. The background property doesn't show properly. In Light Theme doesn't show the orange background. In a simple solution generated by abp suite Works properly, but in our solution doesn''t work.

  • ABP Framework version: v7.0.1
  • UI type: Blazor Server
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:"
  • We migrate form v 4.4.0 using Lepthom theam "Classic" but now in Lepthom Theme X we have this situation.
  • Can you help us?

We make a migration of our App from abp.io version 4.4.0 to version 7.0.1

  • ABP Framework version: v7.0.1
  • UI type: Blazor Server
  • DB provider: EF Core / MongoDB
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • We get this error message in the Auth logs and Host Log:
  • 2023-02-13 11:41:01.959 -04:00 [ERR] value length must be equal to or lower than 65536! (Parameter 'value') System.ArgumentException: value length must be equal to or lower than 65536! (Parameter 'value') at Volo.Abp.Check.Length(String value, String parameterName, Int32 maxLength, Int32 minLength) at Volo.Abp.LanguageManagement.External.LocalizationTextRecord..ctor(Guid id, String resourceName, String cultureName, String value) at Volo.Abp.LanguageManagement.External.ExternalLocalizationSaver.K2Xwd6Tvul(SaveContext , LocalizationResource , String , IStringLocalizer ) at Volo.Abp.LanguageManagement.External.ExternalLocalizationSaver.K2Xwd6Tvul(SaveContext , LocalizationResource , String , IStringLocalizer ) at Volo.Abp.LanguageManagement.External.ExternalLocalizationSaver.rJYwS5QxcO(SaveContext , LocalizationResource ) at Volo.Abp.LanguageManagement.External.ExternalLocalizationSaver.SaveAsync() at Volo.Abp.LanguageManagement.External.ExternalLocalizationSaver.SaveAsync() at Castle.DynamicProxy.AsyncInterceptorBase.ProceedAsynchronous(IInvocation invocation, IInvocationProceedInfo proceedInfo) at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapter.ProceedAsync() at Volo.Abp.Uow.UnitOfWorkInterceptor.InterceptAsync(IAbpMethodInvocation invocation) at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter1.InterceptAsync(IInvocation invocation, IInvocationProceedInfo proceedInfo, Func3 proceed) at Volo.Abp.LanguageManagement.LanguageManagementDomainModule.<>c__DisplayClass6_1.dqYSTJLxrtjUOO4OmDO.MoveNext() --- End of stack trace from previous location --- at Polly.AsyncPolicy.<>c__DisplayClass40_0.<<ImplementationAsync>b__0>d.MoveNext() --- End of stack trace from previous location --- at Polly.Retry.AsyncRetryEngine.ImplementationAsync[TResult](Func3 action, Context context, CancellationToken cancellationToken, ExceptionPredicates shouldRetryExceptionPredicates, ResultPredicates1 shouldRetryResultPredicates, Func5 onRetryAsync, Int32 permittedRetryCount, IEnumerable1 sleepDurationsEnumerable, Func`4 sleepDurationProvider, Boolean continueOnCapturedContext)

2023-02-13 11:41:23.039 -04:00 [ERR] value length must be equal to or lower than 65536! (Parameter 'value') System.ArgumentException: value length must be equal to or lower than 65536! (Parameter 'value') at Volo.Abp.Check.Length(String value, String parameterName, Int32 maxLength, Int32 minLength) at Volo.Abp.LanguageManagement.External.LocalizationTextRecord..ctor(Guid id, String resourceName, String cultureName, String value) at Volo.Abp.LanguageManagement.External.ExternalLocalizationSaver.K2Xwd6Tvul(SaveContext , LocalizationResource , String , IStringLocalizer ) at Volo.Abp.LanguageManagement.External.ExternalLocalizationSaver.K2Xwd6Tvul(SaveContext , LocalizationResource , String , IStringLocalizer ) at Volo.Abp.LanguageManagement.External.ExternalLocalizationSaver.rJYwS5QxcO(SaveContext , LocalizationResource ) at Volo.Abp.LanguageManagement.External.ExternalLocalizationSaver.SaveAsync() at Volo.Abp.LanguageManagement.External.ExternalLocalizationSaver.SaveAsync() at Castle.DynamicProxy.AsyncInterceptorBase.ProceedAsynchronous(IInvocation invocation, IInvocationProceedInfo proceedInfo) at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapter.ProceedAsync() at Volo.Abp.Uow.UnitOfWorkInterceptor.InterceptAsync(IAbpMethodInvocation invocation) at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter1.InterceptAsync(IInvocation invocation, IInvocationProceedInfo proceedInfo, Func3 proceed) at Volo.Abp.LanguageManagement.LanguageManagementDomainModule.<>c__DisplayClass6_1.dqYSTJLxrtjUOO4OmDO.MoveNext()

  • Steps to reproduce the issue:"
  • Make a migration with EF, run migrator after that we get that error frecuently on app exectution.

I have the same situation but with framework 7.0.1 on Auth and Blazor Server projects

  • ABP Framework version: v7.0.1

  • UI type: Blazor (SERVER)

  • DB provider: EF Core

  • Tiered (MVC) or Identity Server Separated (Angular): yes

  • Exception message and stack trace: *Error NU1101: Unable to find package Volo.Abp.AspNetCore.Mvc.UI.Theme.LeptonX. No packages exist with this id in so urce(s): ABP Commercial NuGet Source, BlazoriseMyGet, C:\Program Files\dotnet\library-packs, Microsoft Visual Studio Of fline Packages, nuget.org

  • Steps to reproduce the issue:"

  • When compile a generated project i get this error: Error NU1101: Unable to find package Volo.Abp.AspNetCore.Mvc.UI.Theme.LeptonX. No packages exist with this id in so urce(s): ABP Commercial NuGet Source, BlazoriseMyGet, C:\Program Files\dotnet\library-packs, Microsoft Visual Studio Of fline Packages, nuget.org

I have the same question but with Blazor Server.

Affichage de 21 à 30 sur 60 entrées
Made with ❤️ on ABP v8.2.0-preview Updated on mars 25, 2024, 15:11