Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1333163 - YAML editor throws error when trying to search
YAML editor throws error when trying to search
Status: CLOSED ERRATA
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console (Show other bugs)
3.2.0
Unspecified Unspecified
unspecified Severity medium
: ---
: 3.2.1
Assigned To: Samuel Padgett
Yadan Pei
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2016-05-04 15:53 EDT by Samuel Padgett
Modified: 2016-06-27 11:06 EDT (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
When editing a YAML object in the web console, pressing CTRL+F or CMD+F to attempt to search the text did not appear to do anything. This bug fix updates the web console so that doing so causes a search box to appear in the UI, as expected.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2016-06-27 11:06:38 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
Dev tools error screenshot (396.96 KB, image/png)
2016-05-04 15:53 EDT, Samuel Padgett
no flags Details


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:1343 normal SHIPPED_LIVE Red Hat OpenShift Enterprise 3.2.1.1 bug fix and enhancement update 2016-06-27 15:04:05 EDT

  None (edit)
Description Samuel Padgett 2016-05-04 15:53:34 EDT
Created attachment 1153999 [details]
Dev tools error screenshot

Edit YAML of a resource. Press Cmd-F on Mac (probably Ctrl-F on other platforms). Nothing happens.

In the console, I see a JS error (b is undefined).

f.loadModule("ace/ext/searchbox", function(b) {
b.Search(a);
Comment 1 Samuel Padgett 2016-05-09 10:44:04 EDT
https://github.com/openshift/origin/pull/8794
Comment 3 Yadan Pei 2016-05-20 06:10:17 EDT
Will check when new puddle is available
Comment 4 Yadan Pei 2016-05-25 21:48:14 EDT
Since target release is 3.2.1, will check when 3.2.1 puddle is ready
Comment 5 Yadan Pei 2016-05-26 05:58:51 EDT
$ git log --pretty="%h %an %cd - %s" --date=local enterprise-3.2 | grep 'dbfbaf2'
$ git log --pretty="%h %an %cd - %s" --date=local master | grep 'dbfbaf2'
dbfbaf2 Samuel Padgett Tue May 10 05:51:35 2016 - Include ext-searchbox.js for Ace editor search

PR is not merged to enterprise-3.2, so could not test against v3.2.0.45 puddle(latest puddle), move to MODIFIED
Comment 7 Yadan Pei 2016-06-06 04:56:37 EDT
Checked against 
openshift v3.2.1.1-1-g33fa4ea
kubernetes v1.2.0-36-g4a3f9c5
etcd 2.2.5

Now when use CTRL+F(on windows,fedora) and Cmd-F(on Mac) in YAML editor, a search box appears, user could search in the editor using RegExp Search, Case Sensitive Search, Whole Word Search

It works well
Comment 9 errata-xmlrpc 2016-06-27 11:06:38 EDT
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-2016:1343

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