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

FISH-8317 - Microprofile Config NPE for profiled setting #6550

Merged
merged 2 commits into from
Mar 22, 2024

Conversation

poikilotherm
Copy link
Contributor

@poikilotherm poikilotherm commented Jan 31, 2024

Description

Important Info

Blockers

None

Testing

New tests

Included in PR

Testing Performed

I ran ConfigExpressionResolverTest, which has been extended in this PR, too.

Testing Environment

Fedora 39 with Maven 3.9.6 and Java 17.0.9

Documentation

Notes for Reviewers

If you want to see the failing test, simply checkout the PR branch and reset HEAD to one commit before. I compiled Payara using mvn package -Dmaven.javadoc.skip -DskipTests -pl nucleus/payara-modules/nucleus-microprofile/config-service -am and ran the tests from my IDE.

Also simplifies the check in case of a same ordinal value source is
around. Left comments and extended unit test to make sure the desired
behaviour is tested.
@Elifzeynepedman Elifzeynepedman changed the title FISH-XXXX - Microprofile Config NPE for profiled setting FISH-8317 - Microprofile Config NPE for profiled setting Feb 13, 2024
@poikilotherm
Copy link
Contributor Author

Hi @Elifzeynepedman this has been sitting for a while. I would appreciate if this would find it's way into the next release 6.2024.3. Thanks!

@Pandrex247
Copy link
Member

LGTM, thanks!

@Pandrex247 Pandrex247 merged commit 2ca8ca1 into payara:master Mar 22, 2024
1 check passed
@poikilotherm poikilotherm deleted the 6549-mpc-profile-npe branch March 22, 2024 17:43
@poikilotherm
Copy link
Contributor Author

Thanks for merging @Pandrex247

Pandrex247 added a commit to Pandrex247/Payara that referenced this pull request Apr 4, 2024
FISH-8317 - Microprofile Config NPE for profiled setting
Pandrex247 added a commit to Pandrex247/Payara that referenced this pull request May 2, 2024
FISH-8317 - Microprofile Config NPE for profiled setting
Pandrex247 added a commit to Pandrex247/Payara that referenced this pull request May 8, 2024
FISH-8317 - Microprofile Config NPE for profiled setting
pdurbin added a commit to IQSS/dataverse that referenced this pull request Aug 22, 2024
The _CT_ version is not needed now that we have upgraded to
Payara 6.2024.6 in #10495 which included this fix:
payara/Payara#6550
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.

Bug Report: deployment fails with NPE when MPC value is only available profiled
2 participants