Activities of "ccernat"

It would be cool to replace the default Blazorise component library used in ABP Blazor solutions, including the generated ABP Suite pages, which is under a license if certain conditions are met, with, for example, Radzen, or any another component library that is completely free and open source.

  • ABP Framework version: v7.3.3
  • UI Type: Blazor Server
  • Database System: EF Core (SQL Server, Oracle, MySQL, PostgreSQL, etc..)
  • Tiered (for MVC) or Auth Server Separated (for Angular): no
  • Exception message and full stack trace:
  • Steps to reproduce the issue:

Hello,

Is it possible to achieve this ( move a created property in the users table to be on top of other UI properties )

If yes, how?

Thanks a lot!

Hi,

Thank you for replying.

What about the menu problems?

After login, the menus that have child menu items does not work in Blazor Server. Be it debug or without debug. Be it the default Administration Menu or any other menu that I create with children and conditionally rendered based on user role.

I have to refresh the page in order for the menus to work.

If I go on an incognito page and open the app url from there, it works.

Also, there is one issue with the profile image. If you set a profile picture and then if you refresh any page or navigate, before displaying the page, for a brief second, a HUGE profile picture appears on the screen.

It is very disturbing. If you want I can attach a video of this behaviour.

Tks a lot!

Hello!

Any news related to this?

Thanks a lot.

  • ABP Framework version: v7.3.2
  • UI Type: Blazor Server
  • Database System: EF Core (SQL Server, Oracle, MySQL, PostgreSQL, etc..)
  • Tiered (for MVC) or Auth Server Separated (for Angular): no
  • Exception message and full stack trace:
  • Steps to reproduce the issue:

As soon as you login, the Administration menu displays only the Identity Management section, and doesn't react to hover, in the sense that the menu is not expanding.

To reproduce: just debug a Blazor server app template with Top Menu, login and see the behaviour. It also extends to other types of Menu that has a hierarchy of menu items under them.

To make it work, you have to refresh the page. This is so so frustrating and I can't believe this is not solved until now.

Also, if I pick a route from a menu that has some menu items under it, and then I go again on the same menu item and click it again, the damn page header and breadcrumbs dissapears.

1st press on the menu item link:

2nd press on the menu item link:

This is also an old behaviour.

Please note that we are using ABP Framework in production. These kind of bugs / issues that are keep coming back are a major drawback.

Tks a lot for any feedback.

  • ABP Framework version: v7.3.2
  • UI Type: Blazor Server
  • Database System: EF Core (SQL Server, Oracle, MySQL, PostgreSQL, etc..)
  • Tiered (for MVC) or Auth Server Separated (for Angular): no
  • Exception message and full stack trace:
  • 2023-08-16 16:33:23.377 +03:00 [DBG] Waiting to acquire the distributed lock for saving external localizations... 2023-08-16 16:33:23.377 +03:00 [INF] Saving external localizations... 2023-08-16 16:33:23.570 +03:00 [INF] Initialized all ABP modules. 2023-08-16 16:33:23.611 +03:00 [INF] Application started. Press Ctrl+C to shut down. 2023-08-16 16:33:23.611 +03:00 [INF] Hosting environment: Development 2023-08-16 16:33:23.611 +03:00 [INF] Content root path: C:\Proiecte\KPIMailer\src\KPImailer.Blazor 2023-08-16 16:33:23.623 +03:00 [INF] Request starting HTTP/2 GET https://localhost:44377/ - - 2023-08-16 16:33:24.186 +03:00 [ERR] An unhandled exception has occurred while executing the request. System.MissingMethodException: Method not found: 'System.Collections.Generic.IReadOnlyList1<Volo.Abp.Settings.SettingDefinition> Volo.Abp.Settings.ISettingDefinitionManager.GetAll()'. at Volo.Abp.SettingManagement.SettingManagementStore.SetCacheItemsAsync(String providerName, String providerKey, String currentName, SettingCacheItem currentCacheItem) at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine) at Volo.Abp.SettingManagement.SettingManagementStore.SetCacheItemsAsync(String providerName, String providerKey, String currentName, SettingCacheItem currentCacheItem) at Volo.Abp.SettingManagement.SettingManagementStore.GetCacheItemAsync(String name, String providerName, String providerKey) at Volo.Abp.SettingManagement.SettingManagementStore.GetOrNullAsync(String name, String providerName, String providerKey) 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 Volo.Abp.Settings.TenantSettingValueProvider.GetOrNullAsync(SettingDefinition setting) at Volo.Abp.Settings.SettingProvider.GetOrNullValueFromProvidersAsync(IEnumerable1 providers, SettingDefinition setting) at Volo.Abp.Settings.SettingProvider.GetOrNullAsync(String name) at Microsoft.AspNetCore.RequestLocalization.DefaultAbpRequestLocalizationOptionsProvider.GetLocalizationOptionsAsync() at Microsoft.AspNetCore.RequestLocalization.AbpRequestLocalizationMiddleware.InvokeAsync(HttpContext context, RequestDelegate next) at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.<>c__DisplayClass6_1.<<UseMiddlewareInterface>b__1>d.MoveNext() --- End of stack trace from previous location --- at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddlewareImpl.Invoke(HttpContext context) 2023-08-16 16:33:24.258 +03:00 [INF] Request finished HTTP/2 GET https://localhost:44377/ - - - 500 - text/html;+charset=utf-8 635.9571ms 2023-08-16 16:33:24.269 +03:00 [INF] Request starting HTTP/2 GET https://localhost:44377/_vs/browserLink - - 2023-08-16 16:33:24.270 +03:00 [INF] Request starting HTTP/2 GET https://localhost:44377/_framework/aspnetcore-browser-refresh.js - - 2023-08-16 16:33:24.274 +03:00 [INF] Request finished HTTP/2 GET https://localhost:44377/_framework/aspnetcore-browser-refresh.js - - - 200 12364 application/javascript;+charset=utf-8 3.8624ms 2023-08-16 16:33:24.280 +03:00 [INF] Request finished HTTP/2 GET https://localhost:44377/_vs/browserLink - - - 200 - text/javascript;+charset=UTF-8 10.7325ms 2023-08-16 16:33:24.337 +03:00 [INF] Request starting HTTP/2 GET https://localhost:44377/favicon.ico - - 2023-08-16 16:33:24.341 +03:00 [ERR] An unhandled exception has occurred while executing the request. System.MissingMethodException: Method not found: 'System.Collections.Generic.IReadOnlyList1<Volo.Abp.Settings.SettingDefinition> Volo.Abp.Settings.ISettingDefinitionManager.GetAll()'. at Volo.Abp.SettingManagement.SettingManagementStore.SetCacheItemsAsync(String providerName, String providerKey, String currentName, SettingCacheItem currentCacheItem) at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine) at Volo.Abp.SettingManagement.SettingManagementStore.SetCacheItemsAsync(String providerName, String providerKey, String currentName, SettingCacheItem currentCacheItem) at Volo.Abp.SettingManagement.SettingManagementStore.GetCacheItemAsync(String name, String providerName, String providerKey) at Volo.Abp.SettingManagement.SettingManagementStore.GetOrNullAsync(String name, String providerName, String providerKey) 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 Volo.Abp.Settings.TenantSettingValueProvider.GetOrNullAsync(SettingDefinition setting) at Volo.Abp.Settings.SettingProvider.GetOrNullValueFromProvidersAsync(IEnumerable1 providers, SettingDefinition setting) at Volo.Abp.Settings.SettingProvider.GetOrNullAsync(String name) at Microsoft.AspNetCore.RequestLocalization.DefaultAbpRequestLocalizationOptionsProvider.GetLocalizationOptionsAsync() at Microsoft.AspNetCore.RequestLocalization.AbpRequestLocalizationMiddleware.InvokeAsync(HttpContext context, RequestDelegate next) at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.<>c__DisplayClass6_1.<<UseMiddlewareInterface>b__1>d.MoveNext() --- End of stack trace from previous location ---
  • Steps to reproduce the issue:

I updated my ABP Blazor template solution to 7.3.2 and I have the error described. Also, it replaces the LeptonX packages version with preview packages:

<PackageReference Include="Volo.Abp.AspNetCore.Mvc.UI.Theme.LeptonX" Version="2.4.0-preview20230816" /> <PackageReference Include="Volo.Abp.AspNetCore.Components.Server.LeptonXTheme" Version="2.4.0-preview20230816" />

Tks for help!

Catalin

tks!!

silly of me.

Hi, Support!

I don't know what am I doing wrong and I have no idea if its related to ABP or not, but I am trying to simply add an MSSqlServer sink for Serilog and it seems I am missing something as no logs gets written in the specific table sink.

First I add it here, in the Program.cs of the Blazor server app.

No error, just doesn't work.

Then I added this sink to one of my modules, in the ConfigureServices() to create a per service sql sink to dump the logs in specific sql tables:

Then I overrided the OnApplicatioInit of the module to just write a test log message. This message gets logged in the file sink in the Logs folder of the app, but not in SQL table.

What am I doing wrong?

Tks a bunch!

Catalin

Hi,

It seems that the template for Blazor Server doesn't put the Authority app setting in the AuthServer sections of the appsettings.json.

I think you need to modify the generated code by ABP Suite.

Tks.

For me, problem solved, I added manually that setting.

hi

[11:06:49 FTL] Host terminated unexpectedly!
Volo.Abp.AbpInitializationException: An error occurred during ConfigureServicesAsync phase of the module Volo.Abp.OpenIddict.AbpOpenIddictAspNetCoreModule, Volo.Abp.OpenIddict.AspNetCore, Version=7.2.2.0, Culture=neutral, PublicKeyToken=null. See the inner exception for details.
 ---> System.ArgumentNullException: Value cannot be null. (Parameter 'uriString')
   at System.ArgumentNullException.Throw(String paramName)
   at System.ArgumentNullException.ThrowIfNull(Object argument, String paramName)
   at System.Uri..ctor(String uriString)
   at KPImailerHella.Blazor.KPImailerHellaBlazorModule.<>c__DisplayClass0_0.<PreConfigureServices>b__3(OpenIddictServerBuilder builder) in C:\Users\catal\source\repos\Relevance-Management\KPImailerHella\src\KPImailerHella.Blazor\KPImailerHellaBlazorModule.cs:line 135
   at Volo.Abp.Options.PreConfigureActionList`1.Configure(TOptions options)
   at Microsoft.Extensions.DependencyInjection.ServiceCollectionPreConfigureExtensions.ExecutePreConfiguredActions[TOptions](IServiceCollection services, TOptions options)
   at Volo.Abp.OpenIddict.AbpOpenIddictAspNetCoreModule.&lt;&gt;c__DisplayClass1_0.&lt;AddOpenIddictServer&gt;b__0(OpenIddictServerBuilder builder)
   at Microsoft.Extensions.DependencyInjection.OpenIddictServerExtensions.AddServer(OpenIddictBuilder builder, Action`1 configuration)
   at Volo.Abp.OpenIddict.AbpOpenIddictAspNetCoreModule.AddOpenIddictServer(IServiceCollection services)
   at Volo.Abp.OpenIddict.AbpOpenIddictAspNetCoreModule.ConfigureServices(ServiceConfigurationContext context)
   at Volo.Abp.Modularity.AbpModule.ConfigureServicesAsync(ServiceConfigurationContext context)
   at Volo.Abp.AbpApplicationBase.ConfigureServicesAsync()
   --- End of inner exception stack trace ---
   at Volo.Abp.AbpApplicationBase.ConfigureServicesAsync()
   at Volo.Abp.AbpApplicationFactory.CreateAsync[TStartupModule](IServiceCollection services, Action`1 optionsAction)
   at Microsoft.Extensions.DependencyInjection.ServiceCollectionApplicationExtensions.AddApplicationAsync[TStartupModule](IServiceCollection services, Action`1 optionsAction)
   at Microsoft.Extensions.DependencyInjection.WebApplicationBuilderExtensions.AddApplicationAsync[TStartupModule](WebApplicationBuilder builder, Action`1 optionsAction)
Showing 11 to 20 of 88 entries
Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11