"ccernat" की गतिविधियाँ

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

tks!!

silly of me.

  • 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

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

Hello!

Any news related to this?

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!

  • 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!

उत्तर

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.4.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-11-20 09:24:03.726 +00:00 [WRN] Unhandled exception rendering component: Object reference not set to an instance of an object. System.NullReferenceException: Object reference not set to an instance of an object. at Volo.Abp.AspNetCore.Components.Server.Extensibility.BlazorServerLookupApiRequestService.SendAsync(String url) at Volo.Abp.BlazoriseUI.Components.ObjectExtending.LookupExtensionProperty2.GetLookupItemsAsync(String filter) at Volo.Abp.BlazoriseUI.Components.ObjectExtending.LookupExtensionProperty2.SearchFilterChangedAsync(String filter) at Volo.Abp.BlazoriseUI.Components.ObjectExtending.LookupExtensionProperty2.OnAfterRenderAsync(Boolean firstRender) 2023-11-20 09:24:03.726 +00:00 [ERR] Unhandled exception in circuit 'gVmyUOQWHKurypwoO3OdZidqK0d9rq7lQE3WxUePTVU'. System.AggregateException: One or more errors occurred. (Object reference not set to an instance of an object.) ---> System.NullReferenceException: Object reference not set to an instance of an object. at Volo.Abp.AspNetCore.Components.Server.Extensibility.BlazorServerLookupApiRequestService.SendAsync(String url) at Volo.Abp.BlazoriseUI.Components.ObjectExtending.LookupExtensionProperty2.GetLookupItemsAsync(String filter) at Volo.Abp.BlazoriseUI.Components.ObjectExtending.LookupExtensionProperty2.SearchFilterChangedAsync(String filter) at Volo.Abp.BlazoriseUI.Components.ObjectExtending.LookupExtensionProperty2.OnAfterRenderAsync(Boolean firstRender) --- End of inner exception stack trace ---
  • Steps to reproduce the issue:

I extended the existing IdentityUser with the extension system, and also had it mapped to a different column using ef core mapping, which is working fine locally.

Normal behavior locally when adding or editing a user:

After deploying to Azure, is not working anymore and I get a Blazor error when trying to add or edit a user:

If I go to /api/providers I get a normal response:

What am I doing wrong? Please note that all other aspects of the app deployed to AZ are working as intended.

Hello!

All good there. As I said, if I access the endpoint /api/providers on Azure, I get the correct response, with the providers list, as shown in the screen in the 1st post.

88 प्रविष्टियों में 71 से 80 दिखा रहा है
Made with ❤️ on ABP v8.2.0-preview Updated on मार्च 25, 2024, 15:11