Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

query string should be passed to Flow when using flow.route #6446

Closed
vlukashov opened this issue Sep 12, 2019 · 0 comments
Closed

query string should be passed to Flow when using flow.route #6446

vlukashov opened this issue Sep 12, 2019 · 0 comments
Assignees
Labels
bug hilla Issues related to Hilla
Milestone

Comments

@vlukashov
Copy link

When navigating to a server-side view with flow.route I want the query string to be available to the server-side navigation event handlers via event.getLocation().getQueryParameters(). With flow-3.0.0.alpha2 this is not the case.

Steps to reproduce:

  1. clone the ccdm branch of the beverage buddy starter
  2. create a navigation link like <a href="/?foo=bar">Reviews</a> in the main layout
  3. implement the BeforeEnterObserver interface in the ReviewsList view to receive BeforeEnterEvent
  4. see that in the event handler event.getLocation().getQueryParameters() returns an empty map whereas the expected behavior is that the map contains the foo=bar pair.
@vlukashov vlukashov added bug hilla Issues related to Hilla labels Sep 12, 2019
@vlukashov vlukashov added this to the CCDM MVP milestone Sep 12, 2019
@qtdzz qtdzz self-assigned this Sep 13, 2019
@project-bot project-bot bot moved this from Needs triage to WIP in OLD Vaadin Flow bugs & maintenance (Vaadin 10+) Sep 13, 2019
@manolo manolo closed this as completed Sep 16, 2019
OLD Vaadin Flow bugs & maintenance (Vaadin 10+) automation moved this from WIP to Closed - pending release Sep 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug hilla Issues related to Hilla
Development

No branches or pull requests

3 participants