Open Closed

Tenant Feature Management Exception #9124


User avatar
0
balessi75 created

ABP Commercial 9.1.0 / Blazor Server / EF / Non tiered / Separate Host and Tenant DBs / Lepton Theme

Hi, after upgrading from ABP 7.4.2 to 9.1.0 we are experiencing the issue described in the following link:
https://github.com/abpframework/abp/issues/20619

Any recommendations?


7 Answer(s)
  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    The latest version is 9.1.1, you can try upgrading to 9.1.1.

    And what's your Blazorise version?

  • User Avatar
    0
    balessi75 created

    Hi @liangshiwei

    Our solution is using Blazorise version 1.6.2 with ABP 9.1.0.

    Thanks.

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    Could you share a test project with me? I will check it. thanks.
    shiwei.liang@volosoft.com

  • User Avatar
    0
    balessi75 created

    I tried creating a new blank solution using...

    abp new FM.ABP -t app-pro -u blazor-server -d ef --theme lepton --mobile none -v 9.1.0

    ...but could not reproduce the problem. The problem only exists in our enterprise app that's been upgraded over the years from version 4 to version 9.

    I see this from @maliming
    https://github.com/abpframework/abp/commit/376f57d6e9f6fd8308baee4dbb2d167f04d6c610

    is this something he already fixed that is not available in 9.1.0? If so, please confirm what version of ABP we would need to be on to get the fix.

    this is the exception logging...

    2025-04-11 21:50:04.289 -04:00 [DBG] Found in the cache: pn:U,pk:790ed007-d184-51bf-db29-3a0aaf86bf76,n:FeatureManagement.ManageHostFeatures
    2025-04-11 21:50:04.289 -04:00 [DBG] PermissionStore.GetCacheItemAsync: pn:R,pk:admin,n:FeatureManagement.ManageHostFeatures
    2025-04-11 21:50:04.289 -04:00 [DBG] Found in the cache: pn:R,pk:admin,n:FeatureManagement.ManageHostFeatures
    2025-04-11 21:50:04.467 -04:00 [WRN] Unhandled exception rendering component: Unable to evaluate index expressions of type 'PropertyExpression'.
    System.InvalidOperationException: Unable to evaluate index expressions of type 'PropertyExpression'.
       at Blazorise.Utilities.ExpressionFormatter.FormatIndexArgument(Expression indexExpression, ReverseStringBuilder& builder)
       at Blazorise.Utilities.ExpressionFormatter.FormatLambda(LambdaExpression expression, String prefix)
       at Blazorise.Utilities.ExpressionFormatter.FormatLambda(LambdaExpression expression)
       at Blazorise.Select`1.GetFormatedValueExpression()
       at Blazorise.BaseInputComponent`1.get_NameAttributeValue()
       at Blazorise.Select`1.<BuildRenderTree>b__56_0(RenderTreeBuilder __builder2)
       at Microsoft.AspNetCore.Components.CascadingValue`1.Render(RenderTreeBuilder builder)
       at Microsoft.AspNetCore.Components.Rendering.ComponentState.RenderIntoBatch(RenderBatchBuilder batchBuilder, RenderFragment renderFragment, Exception& renderFragmentException)
    2025-04-11 21:50:04.478 -04:00 [ERR] Unhandled exception in circuit 'ybKLRIpo6a39Sak0WTkrGdv-47xAMmq1QYTKZ9zB_zw'.
    System.InvalidOperationException: Unable to evaluate index expressions of type 'PropertyExpression'.
       at Blazorise.Utilities.ExpressionFormatter.FormatIndexArgument(Expression indexExpression, ReverseStringBuilder& builder)
       at Blazorise.Utilities.ExpressionFormatter.FormatLambda(LambdaExpression expression, String prefix)
       at Blazorise.Utilities.ExpressionFormatter.FormatLambda(LambdaExpression expression)
       at Blazorise.Select`1.GetFormatedValueExpression()
       at Blazorise.BaseInputComponent`1.get_NameAttributeValue()
       at Blazorise.Select`1.<BuildRenderTree>b__56_0(RenderTreeBuilder __builder2)
       at Microsoft.AspNetCore.Components.CascadingValue`1.Render(RenderTreeBuilder builder)
       at Microsoft.AspNetCore.Components.Rendering.ComponentState.RenderIntoBatch(RenderBatchBuilder batchBuilder, RenderFragment renderFragment, Exception& renderFragmentException)
    

    Thanks.

  • User Avatar
    0
    balessi75 created

    Hi @liangshiwei

    I just realized that we had an outdated override to the feature management page. Once we merged our changes into the ABP changes from 7.4.2 to 9.1.0, everything worked fine.

    Thank you.

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    hi,

    I recommend you upgrade to 9.1.1.

  • User Avatar
    0
    balessi75 created

    Excellent, thank you. Will do.

Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
Do you need assistance from an ABP expert?
Schedule a Meeting
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v9.3.0-preview. Updated on April 11, 2025, 10:10