Bug 1463617

Summary: right-click menu copy & paste is gray and disabled in import YAML/JSON ace editor in the chrome 59 browser.
Product: OpenShift Container Platform Reporter: xipang
Component: Management ConsoleAssignee: Jessica Forrester <jforrest>
Status: CLOSED ERRATA QA Contact: XiaochuanWang <xiaocwan>
Severity: low Docs Contact:
Priority: unspecified    
Version: 3.6.0CC: aos-bugs, jokerman, mmccomas, yapei
Target Milestone: ---   
Target Release: 3.9.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Cause: The ACE editor library contained bugs in certain browsers when trying to use the right click copy and paste functions. Consequence: Users were not consistently able to use the right click menu to copy and paste text from the Edit YAML, Jenkinsfile editor, Dockerfile editor, and any other places the ACE editor was being used. Fix: A newer version of ACE editor is being used. Result: Right click copy and paste now works across browsers throughout the console.
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-03-28 14:05:01 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 xipang 2017-06-21 10:37:50 UTC
Description of problem:
right-click menu copy & paste is gray and disabled in import YAML/JSON ace editor in the chrome 59 browser.However,can use Ctrl+C & Ctrl+V.
Friefox does not have the issue

Version-Release number of selected component (if applicable):
openshift v3.6.121
kubernetes v1.6.1+5115d708d7


How reproducible:
Always

Steps to Reproduce:
1.Login and create a project
2.Click Add to Project and Select Import YAML/JSON
3.Open your local files manager, copy in file pv.json to the
editor

Actual results:
3.Cannot right-click to paste

Expected results:
3.Successlly paste content 

Additional info:

Comment 1 Jessica Forrester 2017-06-21 13:02:36 UTC
This is a known issue with the underlying ACE editor, also see https://github.com/openshift/origin-web-console/issues/1085

Comment 2 Jessica Forrester 2017-11-01 18:54:53 UTC
this is fixed in ace-builds 1.2.9, we'll update once branches open for the next release since its a big jump

Comment 3 Jessica Forrester 2017-12-14 19:30:31 UTC
This was fixed in https://github.com/openshift/origin-web-console/pull/2570

Comment 5 Yadan Pei 2018-01-04 01:55:47 UTC
Tested on v3.9.0-0.9.0

Right click menu Copy & Paste works in ace-editor on Chrome 63

Comment 8 errata-xmlrpc 2018-03-28 14:05:01 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.

https://access.redhat.com/errata/RHBA-2018:0489