Skip to content
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

"Delete Site" failing #2249

Closed
dkoeder opened this issue Jun 22, 2022 · 3 comments
Closed

"Delete Site" failing #2249

dkoeder opened this issue Jun 22, 2022 · 3 comments

Comments

@dkoeder
Copy link

dkoeder commented Jun 22, 2022

NullReferenceException - sync variable is null on line 120 of Oqtane.Client\UI\SiteRouter.razor

@sbwalker
Copy link
Member

Please provide more details in order to reproduce the problem. What version of Oqtane? What database? What Blazor hosting model? How many sites existed in the installation?

@dkoeder
Copy link
Author

dkoeder commented Jun 24, 2022

Oqtane: current dev branch
Database: LocalDB
Hosting Model - Runtime: Blazor WebAssembly
Hosting Model – Prerender?: Yes

  1. Installed oqtane
  2. Added site, “TestA”, with new tenant, “TestTenantA”
  3. Added another site, “TestB”, tenant “TestTenantA”
  4. Restarted oqtane
  5. Went to Site Mangement
  6. Went to Edit on “TestB”
  7. Clicked on “Delete Site”, and confirmed.
  8. “An unhandled exception has occurred. See browser dev tools for details” points NullReference Exception in SiteRouter.

@dkoeder
Copy link
Author

dkoeder commented Jun 25, 2022

See my note on issue #2250. With the changes I made for it, this no longer is causing the exception.

sbwalker added a commit that referenced this issue Jun 27, 2022
Fix #2249 Fix #2250 - issues with site deletion
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants