-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve Blazor module extensibility feature #11086
Conversation
Codecov Report
@@ Coverage Diff @@
## dev #11086 +/- ##
==========================================
- Coverage 54.45% 54.44% -0.02%
==========================================
Files 2658 2659 +1
Lines 76418 76475 +57
==========================================
+ Hits 41617 41637 +20
- Misses 34801 34838 +37
Continue to review full report at Codecov.
|
I could not test it in Blazor-Wasm due to an error like the picture below. Probably not related to PR, just wanted to point out. However, I was able to test it on Blazor-Server. Conclusion: I can add a new record, but then when I try to add a new record again, the connection is broken. Logs [15:30:15 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.BlazoriseUI.Components.ObjectExtending.LookupExtensionProperty`2.<>c.<BuildRenderTree>b__17_2(SelectItem`1 item) in /Users/berkan/Documents/workspace/abp/framework/src/Volo.Abp.BlazoriseUI/Components/ObjectExtending/LookupExtensionProperty.razor:line 12
at Blazorise.Components.Autocomplete`2.GetDisplayText(TItem item)
at Blazorise.Components.Autocomplete`2.<>c__DisplayClass7_0.<<SetParametersAsync>b__0>d.MoveNext()
--- End of stack trace from previous location ---
at Blazorise.BaseAfterRenderComponent.OnAfterRenderAsync(Boolean firstRender)
[15:30:15 ERR] Unhandled exception in circuit 'tt7qjT9psYBSiIeN_TaiVsVMlktCMFD2E6n91XYz3CU'.
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.BlazoriseUI.Components.ObjectExtending.LookupExtensionProperty`2.<>c.<BuildRenderTree>b__17_2(SelectItem`1 item) in /Users/berkan/Documents/workspace/abp/framework/src/Volo.Abp.BlazoriseUI/Components/ObjectExtending/LookupExtensionProperty.razor:line 12
at Blazorise.Components.Autocomplete`2.GetDisplayText(TItem item)
at Blazorise.Components.Autocomplete`2.<>c__DisplayClass7_0.<<SetParametersAsync>b__0>d.MoveNext()
--- End of stack trace from previous location ---
at Blazorise.BaseAfterRenderComponent.OnAfterRenderAsync(Boolean firstRender)
--- End of inner exception stack trace ---
|
Resolve #11060