-
Notifications
You must be signed in to change notification settings - Fork 10k
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
DOMException: Failed to execute 'setStartBefore' on 'Range': the given Node has no parent. #52126
Comments
@giuseppe-terrasi thanks for contacting us. Could you provide a minimal repro project as a public github repository as well as a detailed set of steps to trigger the issue? |
Hi @giuseppe-terrasi. We have added the "Needs: Author Feedback" label to this issue, which indicates that we have an open question for you before we can take further action. This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time. |
Thank you for filing this issue. In order for us to investigate this issue, please provide a minimal repro project that illustrates the problem without unnecessary code. Please share with us in a public GitHub repo because we cannot open ZIP attachments, and don't include any confidential content. |
This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment. If it is closed, feel free to comment when you are able to provide the additional information and we will re-investigate. See our Issue Management Policies for more information. |
I linked the requested repo |
For the record, we're seeing the same problem with our Blazor webapp when we click links very shortly after a reload.
|
I have the same issue. As long as you put an interactive component in MainLayout, then route to the weather page, refresh, and then visit other pages, this error will occur. |
Same here. Similar error appears randomly while navigating between pages with interactive components. In my case the error is:
|
Hey @MackinnonBuck I just ran into this issue. I'm able to successfully repro this as you described with an interactive component in the top level of the app's layout, refresh the browser while on a page with streaming enabled that uses the layout, and perform an enhanced navigation to another page, also sharing the same layout. |
I too am seeing this problem. We are using v8.0.3 with an interactive component in the app layout. Uncaught (in promise) DOMException: Failed to execute 'setStartBefore' on 'Range': the given Node has no parent. |
@turnercj65, @GZidar, are you using the 8.0.204 SDK? If not, could you please try that and see if it resolves your issue? Please also make sure your package versions are up-to-date. If this resolves the problem, could you please let us know? If not, we would appreciate a minimal repro project that demonstrates the issue, hosted as a public GitHub repository. I tried to create my own repro with an interactive component in the layout, and the issue did not occur. Thanks! |
Thanks @MackinnonBuck I've updated to the latest SDK and updated all nuget packages and still running into this only when published to azure app service (windows in my case). I'm not able to repro this when running locally, but consistent repro when published to azure. |
@CoreyT65 It sounds like you might be running into a similar issue to what @sbwalker hit as described in this comment. Could you try using a custom deployment that uses the latest .NET SDK? |
@MackinnonBuck Yep, adding the 8.04 extension to the app service did the trick. Thank you very much! |
Is there an existing issue for this?
Describe the bug
After upgrading an existing Blazor Server side on .NET 7 to a Blazor App in .NET 8 I get this javascript error when navigating:
After that, the server streaming part of the page doesn't load. This is totally random.
The same project works fine with the previous version of the framework,
Expected Behavior
Navigate from one page to another without any problem
Steps To Reproduce
No response
Exceptions (if any)
No response
.NET Version
8.0.100
Anything else?
.NET SDK:
Version: 8.0.100
Commit: 57efcf1350
Workload version: 8.0.100-manifests.8d38d0cc
Ambiente di runtime:
OS Name: Windows
OS Version: 10.0.22631
OS Platform: Windows
RID: win-x64
Base Path: C:\Program Files\dotnet\sdk\8.0.100\
Carichi di lavoro .NET installati:
Workload version: 8.0.100-manifests.8d38d0cc
[android]
Origine dell'installazione: VS 17.8.34309.116
Versioni del manifesto: 34.0.43/8.0.100
Percorso del manifesto: C:\Program Files\dotnet\sdk-manifests\8.0.100\microsoft.net.sdk.android\34.0.43\WorkloadManifest.json
Tipo di installazione: Msi
[maui-windows]
Origine dell'installazione: VS 17.8.34309.116
Versioni del manifesto: 8.0.3/8.0.100
Percorso del manifesto: C:\Program Files\dotnet\sdk-manifests\8.0.100\microsoft.net.sdk.maui\8.0.3\WorkloadManifest.json
Tipo di installazione: Msi
[maccatalyst]
Origine dell'installazione: VS 17.8.34309.116
Versioni del manifesto: 17.0.8478/8.0.100
Percorso del manifesto: C:\Program Files\dotnet\sdk-manifests\8.0.100\microsoft.net.sdk.maccatalyst\17.0.8478\WorkloadManifest.json
Tipo di installazione: Msi
[ios]
Origine dell'installazione: VS 17.8.34309.116
Versioni del manifesto: 17.0.8478/8.0.100
Percorso del manifesto: C:\Program Files\dotnet\sdk-manifests\8.0.100\microsoft.net.sdk.ios\17.0.8478\WorkloadManifest.json
Tipo di installazione: Msi
Host:
Version: 8.0.0
Architecture: x64
Commit: 5535e31a71
.NET SDKs installed:
3.1.426 [C:\Program Files\dotnet\sdk]
5.0.408 [C:\Program Files\dotnet\sdk]
6.0.302 [C:\Program Files\dotnet\sdk]
6.0.320 [C:\Program Files\dotnet\sdk]
7.0.203 [C:\Program Files\dotnet\sdk]
8.0.100 [C:\Program Files\dotnet\sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 3.1.32 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 5.0.17 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 6.0.5 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 6.0.7 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 6.0.25 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 7.0.5 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 7.0.14 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 8.0.0 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 3.1.32 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 5.0.17 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.7 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.12 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.15 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.25 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 7.0.5 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 7.0.14 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 8.0.0 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 3.1.32 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 5.0.17 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 6.0.7 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 6.0.15 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 6.0.25 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 7.0.5 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 7.0.14 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 8.0.0 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Other architectures found:
x86 [C:\Program Files (x86)\dotnet]
registered at [HKLM\SOFTWARE\dotnet\Setup\InstalledVersions\x86\InstallLocation]
Environment variables:
Not set
global.json file:
Not found
The text was updated successfully, but these errors were encountered: