Bug 1838659 - Accessing Yaml tab throws error on Safari browser
Summary: Accessing Yaml tab throws error on Safari browser
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Dev Console
Version: 4.5
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
: 4.5.0
Assignee: Christoph Jerolimov
QA Contact: Gajanan More
Depends On:
Blocks: 1838815
TreeView+ depends on / blocked
Reported: 2020-05-21 14:14 UTC by Christoph Jerolimov
Modified: 2020-07-13 17:41 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Cause: JavaScript exception because of on non standard behavior in Safari. Consequence: White screen when editing a yaml file in the Topology (only in Safari). Fix: Refactoring code so that it works also in Safari. Result: Editing a yaml file works now also in Safari browser.
Clone Of:
Last Closed: 2020-07-13 17:40:55 UTC
Target Upstream Version:

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Github openshift console pull 5520 0 None closed Bug 1838659: Fix "SyntaxError: Unexpected identifier 'e'" in Safari (production build only) 2020-06-30 17:57:24 UTC
Red Hat Product Errata RHBA-2020:2409 0 None None None 2020-07-13 17:41:14 UTC

Description Christoph Jerolimov 2020-05-21 14:14:50 UTC
Description of problem (by Abhishek):
Accessing Yaml tab under resource details page from various flows throws error

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Launch Dev console in Safari browser
2. Switch to Developer perspective
3. Navigate to Topology & select a project which has workloads
4. Right-click on any workload & select `Edit <resource>` option from context menu

Actual results:
Yaml tab keeps displaying loading animation but doesn't load the yaml

Expected results:
Yaml tab should display the yaml

Additional info:
Happens only on Safari in the production build.

Comment 1 Samuel Padgett 2020-05-21 15:14:16 UTC
Related webkit bug: https://bugs.webkit.org/show_bug.cgi?id=189914

Comment 4 errata-xmlrpc 2020-07-13 17:40:55 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.