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
In an application with a Flow view as for the root route and a client-side main layout, the dev mode 404 view contains two <root> entires. This is a regression between 24.4 and 24.5
Expected behavior
Expected to only have a single <root> entry in the 404 view.
Minimal reproducible example
Create a project at https://start.vaadin.com/ with a single Flow view. Make sure Vaadin 24.5 is used as the platform version and React (Hilla) is used for the main layout.
Seems like the RouteNotFoundError just collects server routes and then client routes without any checking of what there is. Also the client routes are not filtering away layouts which leads to having the 2 "" root targets.
The gotten client routes should filter Layout targets away from the results.
Description of the bug
In an application with a Flow view as for the root route and a client-side main layout, the dev mode 404 view contains two
<root>
entires. This is a regression between 24.4 and 24.5Expected behavior
Expected to only have a single
<root>
entry in the 404 view.Minimal reproducible example
mvn
Versions
The text was updated successfully, but these errors were encountered: