Closed mcollovati closed 1 week ago
Issues
2 New issues
0 Accepted issues
Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code
1 135 files ±0 1 135 suites ±0 1h 25m 23s :stopwatch: - 7m 32s 7 395 tests +2 7 345 :white_check_mark: +2 50 :zzz: ±0 0 :x: ±0 7 731 runs +7 7 671 :white_check_mark: +7 60 :zzz: ±0 0 :x: ±0
Results for commit cebd90c0. ± Comparison against base commit c615be5b.
:recycle: This comment has been updated with latest results.
This ticket/PR has been released with Vaadin 24.5.0.beta2 and is also targeting the upcoming stable 24.5.0 version.
Currently, if a view defines
@Route
and@RouteAlias
with the same path, the alias is rejected at startup, but there is no evidence of the error. However, when hot swap is enabled and the view class is reloaded, an exception is thrown. This change adds an explicit check for duplicate paths, preventing the application from starting if the configuration is invalid.Fixes #19972