Ends in:
5 DAYS
9 HRS
27 MIN
13 SEC
Ends in:
5 D
9 H
27 M
13 S
Open Closed

Volo.Abp.FeatureManagement.Blazor.Components.FeatureManagementModal. thro error #8224


User avatar
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)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Can you share a minimal project to reproduce?

    liming.ma@volosoft.com

    Thanks.

  • User Avatar
    0
    zhongfang created

    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.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    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

  • User Avatar
    0
    zhongfang created

    I have read the post. May I wait the next ABP version to fix the bug?

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    It will be available in ABP 9.0

    https://github.com/abpframework/abp/pull/21206

Made with ❤️ on ABP v9.1.0-preview. Updated on November 26, 2024, 12:49