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
Hilla: 24.5.0.beta5
Flow: 24.5.0.beta4
Vaadin: 24.5.0.beta5
Copilot: 24.5.0.beta4
Frontend Hotswap: Enabled, using Vite
OS: aarch64 Mac OS X 14.6.1
Java: Oracle Corporation 22.0.1
Browser: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36
Java Hotswap: Hotswap is not enabled
IDE Plugin: 1.3.3 IntelliJ
The text was updated successfully, but these errors were encountered:
Do you have in use also a @Layout server layout?
As by default Hilla should be the one to be chosen as it is on the client and would be the first exact match when navigating.
The MainLayout.java in the project has the Layout annotation.
@Layout
@AnonymousAllowed
public class MainLayout extends AppLayout {
So the normal case is that with conflicting routes the hilla route is rendered, but if there is a serverside layout in use for the hilla route, the Flow layout is rendered.
But will add somewhere a cross validation between Flow and Hilla routes.
Description of the bug
When two views have the same name, one is created in Flow and the other one is created in Hilla
Expected behavior
I would expect an exception to be thrown.
Minimal reproducible example
Create a route view with Flow
Create another route view with Hilla
Versions
Hilla: 24.5.0.beta5
Flow: 24.5.0.beta4
Vaadin: 24.5.0.beta5
Copilot: 24.5.0.beta4
Frontend Hotswap: Enabled, using Vite
OS: aarch64 Mac OS X 14.6.1
Java: Oracle Corporation 22.0.1
Browser: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36
Java Hotswap: Hotswap is not enabled
IDE Plugin: 1.3.3 IntelliJ
The text was updated successfully, but these errors were encountered: