Skip to content

Deprecated runtime configuration properties with default value are reported even though never used #37072

@michalvavrik

Description

@michalvavrik

Describe the bug

see #37022 (comment)

Expected behavior

Values coming from DefaultValuesConfigSource are not reported as used by io.quarkus.runtime.configuration.DeprecatedRuntimePropertiesRecorder#reportDeprecatedProperties

Actual behavior

Warning is logged WARN [io.qua.run.con.DeprecatedRuntimePropertiesRecorder] (main) The 'quarkus.http.auth.form.redirect-after-login' config property is deprecated and should not be used anymore

How to Reproduce?

  • git clone [email protected]:Karm/mandrel-integration-tests.git
  • cd mandrel-integration-tests/apps/quarkus-full-microprofile
  • git apply quarkus_3.x.patch
  • mvn clean package -Dquarkus.version=999-SNAPSHOT
  • java -jar target/quarkus-app/quarkus-run.jar

Output of uname -a or ver

No response

Output of java -version

No response

Quarkus version or git rev

999-SNAPSHOT

Build tool (ie. output of mvnw --version or gradlew --version)

No response

Additional information

I could not reproduce it with 3.5.0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions