Open alexanoid opened 3 months ago
Has the same root cause (extra history navigation event) as in https://github.com/vaadin/flow/issues/19525 and https://github.com/vaadin/flow/issues/19494
I was unable to reproduce with a simple view implementing HasUrlParameter
in 24.4.0.rc1. I tried it with and without vaadin.eagerServerLoad
setting, but the setParameter
is invoked once.
It does not happen on initial load but only on navigation, and #19539 fixes it
In which version will this fix be released? I tried 24.4.0.rc2 but it still doesn't work.
@Artur- I tried with 24.4.1, the same problem
Then it sounds like a different problem that needs a test case
@Artur Would it be sufficient to show you this problem on a real website online?
@alexanoid this may give us some insights about use case, but I'd say it's not sufficient to reliably fix the issue, we need a reproducible example.
@mshabarov It looks like the cause of the issue is described here: https://github.com/vaadin/flow/issues/19613 Thi is replaceState
@alexanoid can you test with Flow 24.4.6 (It will be in Vaadin 24.4.9 when it comes out) that has the fix for 19613.
@caalador I tried the new version, and the issue disappeared for most pages, but it still reproduces on one of them. I don't quite understand what's special about it; it seems just like the others. I have rolled back to the old version again. Also, the problem from this issue has returned: https://github.com/vaadin/flow/issues/18736
@caalador I added new issues: https://github.com/vaadin/flow/issues/19822 and https://github.com/vaadin/flow/issues/19823
Description of the bug
This issue occurred once before, then you fixed it, and now it has returned in Vaadin Flow 24.4.0.rc1. When accessing the page, the method
сom.vaadin.flow.router.HasUrlParameter#setParameter
is called twice.I also use
vaadin.eagerServerLoad=true
In version 24.4.0.beta5 everything works fine, so apparently something has changed in Vaadin Flow 24.4.0.rc1.
Expected behavior
method com.vaadin.flow.router.HasUrlParameter#setParameter
is called only one timeMinimal reproducible example
n/a
Versions