Brett10
(Brett Sutton)
May 27, 2019, 5:54am
1
I’m upgrading a project from 13 to 14 beta 2.
The method:
BeforeEnterEvent.forwardTo
Doesn’t appear to exist any more and I can’t see any doco on it.
I’m guessing it has been replaced with:
BeforeEnterEvent.rerouteTo
This should be listed as a breaking change.
Erik87
(Erik Lumme)
May 27, 2019, 12:10pm
2
The method still appears to be there for me, what version of com.vaadin:flow-server
are you using?
Pekka3
(Pekka Hyvönen)
May 27, 2019, 12:14pm
3
Hi. I wonder what is going on with your project - the method has not been removed in 14.
Leif
(Leif Åstrand)
May 27, 2019, 12:16pm
4
No such change has been made. I’m seeing 6 different overloads forwardTo
that are all inherited from [BeforeEvent]
(https://github.com/vaadin/flow/blob/2.0.0.rc2/flow-server/src/main/java/com/vaadin/flow/router/BeforeEvent.java ).
I’ve sometimes seen some similar “fake” disappearances when my IDE has failed to properly index updated classes. They usually go away after rebuilding, clearing caches or in some cases removing all IDE metadata and importing the existing sources again.
Brett10
(Brett Sutton)
May 28, 2019, 1:06pm
5
sorry, it was a gradle dependancy issues. I managed to pull in a 10.x version of vaadin as well as 14.x hence the reversion.