Skip to content

Config Editor doesn't update the prefixed values #19913

@danieloh30

Description

@danieloh30

Describe the bug

Found this weird thing. After I defined %dev.username=value1 in the application.properties, I updated the value to value2 via config editor in DEV UI. It turns out Quarkus appended a new key and value like username=daniel without prefix %dev.

Expected behavior

%dev.username=value2

Actual behavior

%dev.username=value1
username=value2

How to Reproduce?

  1. Run "./mvnw quarkus:dev" using 2.2.1.Final
  2. Add the key and value(%dev.username=value1) in the application.properties
  3. Go to DEV UI > Config Editor > Search "username" > Update the value to "value2"
  4. Go back to application.properties

Output of uname -a or ver

Darwin Daniels-MacBook-Pro 20.6.0 Darwin Kernel Version 20.6.0: Wed Jun 23 00:26:31 PDT 2021; root:xnu-7195.141.2~5/RELEASE_X86_64 x86_64

Output of java -version

openjdk version "11.0.10" 2021-01-19 OpenJDK Runtime Environment AdoptOpenJDK (build 11.0.10+9) OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.10+9, mixed mode)

GraalVM version (if different from Java)

No response

Quarkus version or git rev

2.2.1.Final

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

Maven home: /Users/danieloh/cloud-native-app-dev/tools/apache-maven-3.8.1

Additional information

No response

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