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)
-
0
Hi,
The latest version is 9.1.1, you can try upgrading to 9.1.1.
And what's your Blazorise version?
-
0
Hi @liangshiwei
Our solution is using Blazorise version 1.6.2 with ABP 9.1.0.
Thanks.
-
0
Hi,
Could you share a test project with me? I will check it. thanks.
shiwei.liang@volosoft.com -
0
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/376f57d6e9f6fd8308baee4dbb2d167f04d6c610is 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.
-
0
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.
-
0
hi,
I recommend you upgrade to 9.1.1.
-
0
Excellent, thank you. Will do.