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
All Flow apps and features should work from non-root servlet context #4619
Comments
Attaching a sample project which reproduce the push issue. When run, the following appears in the browser:
And push falls back to long polling. |
Also related #3600 (webjars handling broken when non-root servlet context) |
Regarding the problem of websocket transport mode failing when using a custom mapping for Flow, until this issue will be fixed the work around for it is to have a separate vaadin servlet to map the /frontend: For Java:
and for Spring boot:
In Spring Boot if /frontend is mapped using SpringServlet it still doesn't work, Atmosphere still picks up /frontend no matter ordering of mapping paths |
Hi folks, what is the current state of this issue? I am also missing a bit of documentation about that in current flows doc. Is it easy / safe to use vaadin on non root Context? |
Hi. I am interested too. Is any resolution? |
@JulianFeinauer & @atistrcsn, all known issues should be solved. This issue has just been left hanging, because some cases might not have ITs. I'll close this issue as it is causing confusion. If you find an issue, create a new bug report. |
When running a Flow app, I want to use a non-root servlet mapping for it, because I have another another app mapped to the root context on the same domain
When the Flow app is mapped to non-root servlet context, All the things should work and we should also have ITs that verify those. Tests should verify (if don't already do so!) that the following things work:
Acceptance Criteria
We have verified by adding ITs for all the missing necessary things that those work also in non-root servlet context. Requires changes in vaadin/cdi and vaadin/spring projects too.
The text was updated successfully, but these errors were encountered: