-
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
2.8.0 YAML config no longer working in 2.9.2 #26009
Comments
gastaldi
added
area/config
kind/bug
Something isn't working
and removed
triage/needs-triage
labels
Jun 8, 2022
/cc @radcortez |
Seems to be a bug in SmallRye Config. I created a test that reproduces it. I'll try to submit a PR soon |
I found that this commit introduced this bug: smallrye/smallrye-config@c0df101 |
I created smallrye/smallrye-config#762 to track this fix in the smallrye-config repo. |
quick turn around - nice work |
Fixed in smallrye/smallrye-config#766. Requires an update of SmallRye Config. |
This was referenced Jun 14, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The below works in 2.8.0 but not in 2.9.2.
Here are the respective configs in memory.
You will notice that. in the 2.9.2 - the map keys are messed up. It appears that the keys for the Map<String, MessageUtilConfiguration> messageUtilConfigurations() in the config file have also been used for the key for the Map<String, Map<String, MessageUtilConfiguration>> messageUtilConfigsMap();
I've highlighted the map keys which are different in the 2 versions.
correct config with 2.8.0 top map key should be "filter"
bad Config with 2.9.2 (no code changes) top map key seems to be the key for the contained map "default "rather than "filter"
Config interface:
Associated Snippet from YAML file:
The text was updated successfully, but these errors were encountered: