Bug 1703891
Summary: | Status page will jump to be empty after when select "all projects" on Firefox | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | XiaochuanWang <xiaocwan> |
Component: | Management Console | Assignee: | Samuel Padgett <spadgett> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Yadan Pei <yapei> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 4.1.0 | CC: | aos-bugs, jhadvig, jokerman, mmccomas |
Target Milestone: | --- | Keywords: | Regression |
Target Release: | 4.1.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2019-04-30 22:06:06 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
XiaochuanWang
2019-04-29 03:00:01 UTC
While looking into this a bit I noticed that following error log messages: resource-link.jsx:50 resourcePath: no model for "Endpoints" resource-link.jsx:50 resourcePath: no model for "Machines" which is a bit odd since we Also could reproduce in Chrome, when scrolling down through the events on the Status page It looks like involved object can be empty in some cases, and `ResourceLink` will have a runtime error if `kind` is not defined. TypeError: ref is undefined kindForReference k8s.ts:33 modelFor k8s-models.ts:38 resourcePath resource-link.jsx:45 ResourceLink resource-link.jsx:65 Digging deeper, `involvedObject` seems to be defined, but it has no `kind` property, which causes the runtime error. Adding a guard to `ResourceLink` to avoid this for events or other contexts. https://github.com/openshift/console/pull/1504 This is not reproduced on 4.1-art-latest-2019-04-29-235412:console Console image: console.openshift.io/image: quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:f6e707cb19025dee3a58db39eca56be7c351e35ee748c4c01d7a81082321d2bf Commit: io.openshift.build.commit.id=b53117a33ddf82d4ff16fb0cc55fb5062b66bf5c io.openshift.build.commit.url=https://github.com/openshift/console/commit/b53117a33ddf82d4ff16fb0cc55fb5062b66bf5c |