hilla icon indicating copy to clipboard operation
hilla copied to clipboard

CCDM: links do not work as in V14

Open manolo opened this issue 5 years ago • 3 comments

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.

manolo avatar Feb 13 '20 14:02 manolo

RouterLinkIT test which fails because of this is disabled: https://github.com/vaadin/flow/pull/10459

denis-anisimov avatar Mar 29 '21 11:03 denis-anisimov

FragmentLinkIT test which fails because of this is disabled: https://github.com/vaadin/flow/pull/10462

denis-anisimov avatar Mar 29 '21 11:03 denis-anisimov

Some PageIT tests are disable because of this issue : https://github.com/vaadin/flow/pull/10483

denis-anisimov avatar Mar 30 '21 08:03 denis-anisimov