You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Version - 5.1.2 (and older 5.1.x versions)
Render Mode - Static (issue also occurs in Interactive mode)
Interactivity - Server (issue also occurs in Client interactivity)
Database - SQL Server
Describe the bug
After creating a new page within a sub-site, the browser navigates to an unexpected location within the root site. The new page is created in the sub-site as expected, but the browser either:
Displays a 404 error page within the root site,
Shows a page with the same name from the root site (if one exists),
Renders some other strange issue on a page from the root site while keeping the route in the browser within the sub-site. This issue occurs when a new page is created using the Page Management feature from the admin dashboard.
Expected Behavior
The browser should either:
navigate to the correct location of the newly created page within the sub-site, or
navigate back to /sub-site/admin/pages if the new page is created from the Page Management feature in the admin dashboard.
Steps To Reproduce
Install a new Oqtane 5.1.2 release website on IIS from the release zip (example URL: https://oqtane-poc324.oqtane.me/) and log in as host.
To quickly work around the issue, I modified SiteRouter.razor at line 560 to use !string.IsNullOrEmpty(alias.BaseUrl) instead of alias.BaseUrl != "".
However, this might not be an adequate solution. The problem likely stems from Null values being present where Empty.String was expected, indicating a some other deeper issue within the Oqtane codebase.
Oqtane Info
Version - 5.1.2 (and older 5.1.x versions)
Render Mode - Static (issue also occurs in Interactive mode)
Interactivity - Server (issue also occurs in Client interactivity)
Database - SQL Server
Describe the bug
After creating a new page within a sub-site, the browser navigates to an unexpected location within the root site. The new page is created in the sub-site as expected, but the browser either:
Expected Behavior
The browser should either:
Steps To Reproduce
.
Here is other example, when new page 'pgg1' created from interactive web assembly sub-site 'ic01'.
Anything else?
from log
The text was updated successfully, but these errors were encountered: