-
Notifications
You must be signed in to change notification settings - Fork 56
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
Feature flags for experimental features are ignored for maven goal vaadin:build-frontend #2637
Labels
bug
Something isn't working
hilla
Issues related to Hilla
Impact: High
prerelease version for Vaadin 24.5.0
Released with Vaadin 24.4.11
Released with Vaadin 24.5.0.alpha10
Severity: Major
Comments
Does reproduce for me, also when running |
platosha
added a commit
to vaadin/flow
that referenced
this issue
Aug 13, 2024
Fixes vaadin/hilla#2637 ResourceProvider ignored the actual project's resources when using the default ClassLoader. This resulted in loading `vaadin-featureflags.properties` from the vaadin-dev-bundle jar, even though there is a file in the project.
platosha
added a commit
to vaadin/flow
that referenced
this issue
Aug 13, 2024
Fixes vaadin/hilla#2637 ResourceProvider ignored the actual project's resources when using the default ClassLoader. This resulted in loading `vaadin-featureflags.properties` from the vaadin-dev-bundle jar, even though there is a file in the project.
This ticket/PR has been released with Vaadin 24.5.0.alpha10 and is also targeting the upcoming stable 24.5.0 version. |
caalador
pushed a commit
to vaadin/flow
that referenced
this issue
Aug 21, 2024
Fixes vaadin/hilla#2637 ResourceProvider ignored the actual project's resources when using the default ClassLoader. This resulted in loading `vaadin-featureflags.properties` from the vaadin-dev-bundle jar, even though there is a file in the project.
platosha
added a commit
to vaadin/flow
that referenced
this issue
Aug 23, 2024
… (#19810) Fixes vaadin/hilla#2637 ResourceProvider ignored the actual project's resources when using the default ClassLoader. This resulted in loading `vaadin-featureflags.properties` from the vaadin-dev-bundle jar, even though there is a file in the project. Co-authored-by: Anton Platonov <anton@vaadin.com>
This ticket/PR has been released with Vaadin 24.4.11. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
bug
Something isn't working
hilla
Issues related to Hilla
Impact: High
prerelease version for Vaadin 24.5.0
Released with Vaadin 24.4.11
Released with Vaadin 24.5.0.alpha10
Severity: Major
Describe the bug
I have a file
vaadin-featureflags.properties
which containscom.vaadin.experimental.hillaI18n=true
. In my local environment, thei18n
-instance can be used without problems. However, in my production build, the frontend crashes with the errorThe Hilla I18n API is currently considered experimental and may change in the future. To use it you need to explicitly enable it in Copilot or by adding com.vaadin.experimental.hillaI18n=true to vaadin-featureflags.properties
.I investigated the issue and while
prepare-frontend
creates a correctvaadin-featureflags.js
, using the goalvaadin:build-frontend
creates the file with all features set tofalse
.Expected-behavior
No response
Reproduction
Create a
vaadin-featureflags.properties
which containscom.vaadin.experimental.hillaI18n=true
and runmvn vaadin:build-frontend
. The generatedsrc/main/frontend/generated/vaadin-featureflags.js
containswindow.Vaadin.featureFlags.hillaI18n = false;
.System Info
Windows/Linux, Vaadin 24.4.4
The text was updated successfully, but these errors were encountered: