-
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
Regression: SRCFG00011: Could not expand value
exception
#27377
Comments
/cc @radcortez |
Roberto is on PTO for now so this will have to wait for 2.12.1.Final. |
I assume the regression is related to the recent PR #26802. But this also got me thinking if a properties file (like |
@knutwannheden could you have a look at #27576 ? |
This works since we need to resolve the value for extensions, and we need to write the resolved value for runtime to make sure it is not changed.
We don't support this, and I think it doesn't make sense. If we allow build time properties to be used to expand runtime properties, then there will be no difference between both, and users would be able to reference either. This will probably confuse users on why build time properties changes do not have any effect. |
I will take a look and report back tomorrow.
There would still be a small difference: If a runtime property value is already supplied at build-time, then it would be able to refer to build-time properties. If the value is supplied at run-time, then not. But I agree that this may be confusing and I have until now never run into the need for this feature. |
@gsmet I quickly tested my reproducer against the branch and I can confirm that the PR fixes the bug. |
Describe the bug
There appears to be a regression in Quarkus 2.12.0.CR1 in the area of SmallRye Config.
I have a simple application which only uses
quarkus-resteasy-reactive
andquarkus-security
and the followingapplication.properties
file:When starting up the application it fails with an exception with the following root cause:
So somehow the value in the
quarkus.http.auth.permission.quarkus.paths=${quarkus.http.non-application-root-path}/*
cannot be expanded. In all earlier versions of Quarkus this worked.Expected behavior
It seems like this should be allowed.
Actual behavior
Exception thrown at startup (see issue description).
How to Reproduce?
Reproduce:
mvn verify
ormvn quarkus:dev
Output of
uname -a
orver
No response
Output of
java -version
No response
GraalVM version (if different from Java)
No response
Quarkus version or git rev
2.12.0.CR1
Build tool (ie. output of
mvnw --version
orgradlew --version
)No response
Additional information
No response
The text was updated successfully, but these errors were encountered: