-
Notifications
You must be signed in to change notification settings - Fork 14
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
Error when using @RouteScope in components - version 1.3.18 (and also 1.3.17) #129
Comments
Thank you for letting me know 👍 I'll try to add this test to Karibu itself, hopefully I'll be able to reproduce it on my machine. It's good to know that 1.3.16 worked okay. @brunovianarezende could you please check 1.3.17 whether it's also affected? |
Also, which version of vaadin-spring.jar are you using please, and which Vaadin version? |
Yes, 1.3.17 is affected too. |
We use:
where |
Sorry - I tried to upgrade Spring in Karibu-Testing in hopes to create a reproducible test, but Spring failed with random class incompatibility exceptions. However, let me try to figure out a blind workaround. |
The new implementation of |
The flag is called I'll therefore keep this ticket open. If someone feels brave enough to upgrade Spring in Karibu-Tests and write a test that reproduces this issue, please go ahead and create a PR. I'll merge the PR and proceed to fix the issue properly. |
I have a component annotated with @RouteScope and when I try to init the app in the test, I get the error:
it seems to me this error is caused by this commit: 7d0435e. I tested using version 1.3.16 and it works ok.
This is the code in my test class:
and this is what I have in my POM:
The code that triggers the bug is something like:
and:
The text was updated successfully, but these errors were encountered: