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 1989889: Render 404 create page if CRD model is missing #9711
Conversation
@rawagner I realize this is how it behaved before, but it might be better to show a message like we do for the operand list: |
thats much better :) Updated |
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.
Thanks verified the changes, user is shown with 404 if the model doesn't exist 👍
verbs: ['create'], | ||
}, | ||
useK8sModel: (groupVersionKind) => [ | ||
groupVersionKind === readonlyModel.kind ? readonlyModel : testModel, |
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.
frontend tests are complaining Invalid variable access: readonlyModel
cf003d3
to
1279e49
Compare
/retest |
@rawagner: This pull request references Bugzilla bug 1989889, 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. |
/bugzilla refresh |
@rawagner: This pull request references Bugzilla bug 1989889, 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. 3 validation(s) were run on this bug
Requesting review from QA contact: 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. |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: invincibleJai, rawagner 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 |
@rawagner: All pull requests linked via external trackers have merged: Bugzilla bug 1989889 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.8 |
@spadgett: #9711 failed to apply on top of branch "release-4.8":
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.8 |
@rawagner: #9711 failed to apply on top of branch "release-4.8":
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. |
<= 4.8 handled the case in the same way https://github.com/openshift/console/blob/release-4.8/frontend/packages/operator-lifecycle-manager/src/components/operand/create-operand.tsx#L186