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

Theme resolving doesn't work in dev mode when having a servlet path. #3577

Closed
caalador opened this issue Feb 20, 2018 · 0 comments
Closed

Theme resolving doesn't work in dev mode when having a servlet path. #3577

caalador opened this issue Feb 20, 2018 · 0 comments
Assignees
Milestone

Comments

@caalador
Copy link
Contributor

When running an application in development mode with a servlet path part the theme url translation will not find any files from WebJars as the servlet will add the urlPattern in front of the import in toServletContextPath.

When running in production mode this won't cause problems as webJars are not used.

Tested with: alpha21

Steps to reproduce:

Run Skeleton starter flow with urlPattern "/app/*"

this will lead the import /./../bower_components/vaadin-button/theme/lumo/vaadin-button.html to become /app/./../bower_components/vaadin-button/theme/lumo/vaadin-button.html which won't resolve correctly in the webJarServer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants