0
zhongfang created
- ABP Framework version: v8.3.0
- UI Type: Blazor Server
- Database System: EF Core (MySQL) / MongoDB
- Tiered (for MVC) or Auth Server Separated (for Angular): no
- Exception message and full stack trace:
[12:25:58 WRN] Unhandled exception rendering component: Value cannot be null. (Parameter 'stringLocalizer')
System.ArgumentNullException: Value cannot be null. (Parameter 'stringLocalizer')
at System.ArgumentNullException.Throw(String paramName)
at System.ArgumentNullException.ThrowIfNull(Object argument, String paramName)
at Microsoft.Extensions.Localization.StringLocalizerExtensions.GetString(IStringLocalizer stringLocalizer, String name)
at Volo.Abp.FeatureManagement.Blazor.Components.FeatureManagementModal.<>c__DisplayClass43_5.<BuildRenderTree>b__21(RenderTreeBuilder __builder9)
at Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder.AddContent(Int32 sequence, RenderFragment fragment)
at Blazorise.SelectItem`1.BuildRenderTree(RenderTreeBuilder __builder)
at Microsoft.AspNetCore.Components.Rendering.ComponentState.RenderIntoBatch(RenderBatchBuilder batchBuilder, RenderFragment renderFragment, Exception& renderFragmentException)
- Steps to reproduce the issue:
- Start blazor application with debug mode in VS 2022
- go to this page https://localhost:44313/saas/host/editions
- select a version, then click '功能‘
- get above exception
I must mentioned that I didn't difine features for versions for many months. But I use ABP from 4.x.x to 8.3.0...
5 Answer(s)
-
0
hi
Can you share a minimal project to reproduce?
liming.ma@volosoft.com
Thanks.
-
0
I can give you a database connection string with email. You can create a empty ABP application with Blazor Server page. Then you can change the database connection string.
-
0
hi
Can you try this?
https://abp.io/support/questions/8169/Bug-in-Localization-logic-causes-feature-management-to-fail#answer-3a15e3a5-c2a2-f2ab-d71c-cbb1772281c4
-
0
I have read the post. May I wait the next ABP version to fix the bug?
-
0
hi
It will be available in ABP 9.0
https://github.com/abpframework/abp/pull/21206