[DO NOT MERGE] fix: Handle "NULL" string as unconfigured OAuth identity provider#995
[DO NOT MERGE] fix: Handle "NULL" string as unconfigured OAuth identity provider#995ibuziuk wants to merge 2 commits intoeclipse-che:mainfrom
Conversation
Treat the string "NULL" as equivalent to an unconfigured OAuth identity provider. This fixes the case where property placeholder defaults result in "NULL" being passed instead of null or empty string, which previously caused incorrect service account selection when initializing projects. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: ibuziuk The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
Signed-off-by: Ilya Buziuk <ibuziuk@redhat.com>
| Map<String, String> namespaceAnnotationsEvaluated = | ||
| evaluateAnnotationPlaceholders(resolutionCtx); | ||
|
|
||
| // Use Che server SA when initWithCheServerSa is true and OAuth is configured. |
There was a problem hiding this comment.
| // Use Che server SA when initWithCheServerSa is true and OAuth is configured. | |
| // Use Che server SA when initWithCheServerSa is true and OAuth is not configured. |
|
/retest |
|
@ibuziuk: The following tests failed, say
Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
|
PR needs rebase. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
What does this PR do?
Treat the string "NULL" as equivalent to an unconfigured OAuth identity provider. This fixes the case where property placeholder defaults result in "NULL" being passed instead of null or empty string, which previously caused incorrect service account selection when initializing projects.
https://redhat.atlassian.net/browse/CRW-10656
related property -
che-server/assembly/assembly-wsmaster-war/src/main/webapp/WEB-INF/classes/che/multiuser.properties
Line 76 in ff937ca
Screenshot/screencast of this PR
What issues does this PR fix or reference?
How to test this PR?
PR Checklist
As the author of this Pull Request I made sure that:
What issues does this PR fix or referenceandHow to test this PRcompletedRelease Notes
Reviewers
Reviewers, please comment how you tested the PR when approving it.