-
Notifications
You must be signed in to change notification settings - Fork 417
Fluent Web App Templates Version 4.11.0 using Auto mode template causes Weather component to fail with ERR_HTTP2_PROTOCOL_ERROR #3108
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
Comments
I put a breakpoint in OnInitializedAsync and step thru it fails on this code:
System.ArgumentException: The renderer does not have a component with ID 49. |
So I created a new Blazor Web App with Auto interactive mode. I changed the NuGet pkgs to version to 4.10.4. I suspect the issue is with the updated DataGrid, because it fails on the line of code that updates the forecasts variable. |
This error has been fixed with PR #3090. It indeed has to do with the changed rendering of the DataGrid. I was not able to get it working with the if.. else 'Loading...' code but with the change from the PR it will use the loading state of the grid itself (which imo looks better) Closing this as it is a duplicate of #3068 |
fwiw, the grid did work if I added @rendermode InteractiveServer to Weather. |
Yes, correct. The issue only appears when using StreamRendering. |
🐛 Bug Report
When creating a new Fluent Web App using the 4.11.0 templates and navigating to the Weather component the JS fails in the browsers with ERR_HTTP2_PROTOCOL_ERROR
NOTE: works fine using the 4.10.4 templates.
💻 Repro or Code Sample
🤔 Expected Behavior
The weather component runs fine using Server interactive mode template.
I expect the same when using Auto interactive mode template.
😯 Current Behavior
Error in browser console/IDE: failed to load resource net::ERR_HTTP2_PROTOCOL_ERROR
💁 Possible Solution
Unknown
🔦 Context
I require the Auto template for using EntraID authorization.
🌍 Your Environment
Visual Studio Community Edition Version 17.12.3
Windows 11
FLuent Blazor Templates Version 4.11.0
The text was updated successfully, but these errors were encountered: