-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Wrong warning message param order / Upstream #26156
Comments
So I tried to mimic the test scenario, downloaded app, tun it in dev mode.
So imho the warning is correct, because 'code-with-quarkus-dd' is the build time value for the newly started process. The problem I have is that the old 'code-with-quarkus' is still kept somewhere in the config chain and CC @radcortez and @geoand |
When I try Is ConfigRecorder warning applicable just for dev mode? |
@radcortez can you provide some input to this / what are your plans? |
Let me have a look. |
I'll need to go deeper into this. It seems that the generated class is not reloading the build time source in dev mode for runtime (but the build time values are indeed changed and used in the build steps). For jar mode, the warning probably stopped working when we did this change: #20932 |
The issue was that the BuildTimeRunTime source was not correctly reloaded in Dev mode, causing the warning message and keeping the old config value. In Dev mode, the warning message should not appear because everything is reloaded, and the app is built again, so it doesn't make sense for the message to appear. |
Describe the bug
Quarkus: 999-snapshot
quarkus.application.name=test-http
When a build param is updated as
quarkus.application.name
I am getting the following error message:Note: appName was updated to
new-test-app
I would expect a message like:
Related to: #23573
Reproducer:
Note: be sure that
verifyWarningLogWhenBuildPropertyIsUpdated
is enabledThe text was updated successfully, but these errors were encountered: