Skip to content
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

Do not skip a character if the env var character after a number is #1090

Merged
merged 1 commit into from
Jan 15, 2024

Conversation

Shortleft
Copy link
Contributor

alphabetic

If the env var had the format FOO_BAR_1BAZ the second B was missed.

There was an error that occurred when we had an env var that combined both digits and alphabetical characters.
It turns out that if a digit is found, but its not an index in a map the character after the digit was missed.
This leads to

SRCFG00050: foo.bar.1 az in null does not map to any root

when trying to start an application that relies on Smallrye (example is Quarkus 3.5.0 and later)

…phabetic

If the env var had the format FOO_BAR_1BAZ the second B was missed.
@radcortez
Copy link
Member

Thanks for the PR :)

@radcortez radcortez merged commit 1f1c907 into smallrye:main Jan 15, 2024
8 checks passed
@github-actions github-actions bot added this to the 3.6.0 milestone Jan 15, 2024
radcortez pushed a commit that referenced this pull request Feb 6, 2024
…phabetic (#1090)

If the env var had the format FOO_BAR_1BAZ the second B was missed.

Co-authored-by: Arvid Karlsson <[email protected]>
@radcortez radcortez modified the milestones: 3.6.0, 3.5.3 Feb 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants