hilla
hilla copied to clipboard
CCDM: links do not work as in V14
In V14 router-link
goes to the same view even when it does not handles that route.
Clicking on the link in the below snippet, V14 continues showing the same UI, otherwise V15 shows a router not found
@Route("foo")
public class MyView extends Div {
public MyView() {
Anchor anchor = new Anchor("bar", "click-me");
anchor.getElement().setAttribute("router-link", true);
add(anchor);
}
}
NOTE: It happens the same when calling getPage().setLocation('bar')
NOTE: in V14 reloading the page with the new location returns a not found like V15 does.
RouterLinkIT
test which fails because of this is disabled: https://github.com/vaadin/flow/pull/10459
FragmentLinkIT
test which fails because of this is disabled: https://github.com/vaadin/flow/pull/10462
Some PageIT
tests are disable because of this issue : https://github.com/vaadin/flow/pull/10483