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
Bug 1802570: Error when Image-stream tag is selected from internal registry #4293
Bug 1802570: Error when Image-stream tag is selected from internal registry #4293
Conversation
/kind bug |
@divyanshiGupta: This pull request references Bugzilla bug 1802570, which is valid. The bug has been moved to the POST state. The bug has been updated to refer to the pull request using the external bug tracker. In response to this:
Instructions 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/test-infra repository. |
Do we still need this change once #4253 goes in? |
@divyanshiGupta I must have had the wrong issue in my clipboard. I meant this one #4187 |
verified this locally, works fine |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/approve
/hold |
@christianvogt changes in ImageSearch and ImageStreamTagDropdown are needed. Will remove the changes from SearchStatus |
/approve cancel Missed the comment above about the other PR removing search result altogether. |
@divyanshiGupta: This pull request references Bugzilla bug 1802570, which is invalid:
Comment In response to this:
Instructions 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/test-infra repository. |
@@ -49,19 +48,12 @@ const ImageStreamTagDropdown: React.FC = () => { | |||
targetPort && setFieldValue('route.targetPort', makePortName(targetPort)); | |||
}) | |||
.catch((error) => { | |||
setFieldError('isi.image', error.message); | |||
setFieldValue('isi.image', { metadata: {}, status: '', message: error.message }); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't this be:
setFieldValue('isi.image', { metadata: {}, status: '', message: error.message }); | |
setFieldValue('isi.status', { metadata: {}, status: '', message: error.message }); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oops :P
/hold cancel |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/approve
Just tried this locally with changes from #4187. Works fine.
/bugzilla refresh |
@divyanshiGupta: This pull request references Bugzilla bug 1802570, which is valid. 3 validation(s) were run on this bug
In response to this:
Instructions 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/test-infra repository. |
@@ -80,7 +80,7 @@ const ImageStream: React.FC = () => { | |||
const helperTextInvalid = validated === ValidatedOptions.error && ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, missed it probably because there was no check for isi.status
as well
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Exclamation Symbol is shown even if there is no message to show besides it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, this happens in master as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Adding the check
Verified locally, Works fine |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: debsmita1, divyanshiGupta, karthikjeeyar, rohitkrai03 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@divyanshiGupta: The following test failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. Instructions 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/test-infra repository. I understand the commands that are listed here. |
/retest Please review the full test history for this PR and help us cut down flakes. |
@divyanshiGupta: All pull requests linked via external trackers have merged. Bugzilla bug 1802570 has been moved to the MODIFIED state. In response to this:
Instructions 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/test-infra repository. |
/cherry-pick release-4.4 |
@divyanshiGupta: new pull request created: #4550 In response to this:
Instructions 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/test-infra repository. |
Jira issues - https://issues.redhat.com/browse/ODC-2958, https://issues.redhat.com/browse/ODC-3018
Above issues were caused by PR - #4073 in order to fix status messages shown by
SearchStatus
component.This PR can be merged after - #4187