Activities of "ccernat"

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

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

  • 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

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, Support Team!

I upgraded the Blazor server solution to 7.2.2 and I get this error:

If I press reload, application loads OK. I log in, same error, then Reload, application loads OK.

The only difference from a standard template is that I have added the module Volo.Account.Pro, not as package.

Can you spot what could be wrong?

Also, when I published the app, folder profile, when I try to start it from the console I get:

Tks.

  • ABP Framework version: v7.1.1
  • UI type: Blazor Server
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no
  • Exception message and stack trace:
  • Steps to reproduce the issue: New Blazor server app template, run it. Login as admin, see in the user menu two entries with my account, each of them navigating to different page, also not respecting the top menu layout, going directly into side menu."

Clicking on the first MyAccount:

Clicking on the second MyAccount:

Mention here: this MyAccount is completely different from the first one in terms of layour, no profile picture, etc etc

Hi, Support Team!

I have a Blazor Server ABP template solution, latest version.

I want to add to this solution another Blazor server application, a standard MS template for Blazor server.

Can you help us with some steps in order to have the new Blazor server project access the Application layer of the ABP template one?

Like: what minimal modules to we need to have the standard MS Blazor template be able to "communicate" with API, what do we have to seed in OpenIdDictApplication table, what changes in appsettings.json of the DbMigrator, or appsettings.json of the new Blazor server project, etc.

Basically all we need is the new Blazor project to just be able to authenticate and access the Application layer of the ABP one.

Thank you very much for your guidance!

Catalin

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

Hello,

How can I override App.razor in a ABP Blazor Server app template?

Thank you!

  • ABP Framework version: v7.1.0
  • UI type: Blazor Server single layer app
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

I am trying to use the SignInManager but I am getting this error:

I am trying to check a code sent by email. All OK, but when I am trying to sign in I get the error above.

Does anyone encountered this? What could be the problem?

I am on a ABP Blazor server single layer app template.

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