Bug 1493756
Summary: | cockpit fails with empty page when a link os-release is wrong | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Jan Stavel <jstavel> |
Component: | cockpit | Assignee: | Peter <pvolpe> |
Status: | CLOSED ERRATA | QA Contact: | Jan Ščotka <jscotka> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 7.5 | CC: | mpitt |
Target Milestone: | rc | ||
Target Release: | --- | ||
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: | 2018-04-10 15:58:14 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
Jan Stavel
2017-09-20 20:12:14 UTC
If you open dev console in a browser you can open a row in js file that throws an exception: function h(e, t) { var n, o = JSON.parse(window.localStorage["os-release"] || "{}"), r = c(e)[0]; if (r && (n = window.getComputedStyle(r)), n) { var a, i = n.content; return i && "none" != i && "normal" != i ? (a = i.length, ('"' === i[0] || "'" === i[0]) && a > 2 && i[a - 1] === i[0] && (i = i.substr(1, a - 2)), r.innerHTML = d.format(i, o) || t, c(r).text()) : void 0; } } And it points to a line with JSON.parse(window.localStorage["os-release"]...) Fixing upstream: https://github.com/cockpit-project/cockpit/pull/7730 This will be fixed in 7.5 through rebasing Cockpit to upstream version 153. See bug 1470780. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2018:0876 |