Bug 2086883 - Yaml editor for creating vSphere cluster moves to next line after typing
Summary: Yaml editor for creating vSphere cluster moves to next line after typing
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Advanced Cluster Management for Kubernetes
Classification: Red Hat
Component: Console
Version: rhacm-2.5
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
: rhacm-2.5.2
Assignee: Kevin Cormier
QA Contact: kurwang
Christopher Dawson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-05-16 18:14 UTC by kurwang
Modified: 2022-09-13 20:06 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-09-13 20:06:21 UTC
Target Upstream Version:
Embargoed:
bot-tracker-sync: rhacm-2.5.z+


Attachments (Terms of Use)
After editing (271.84 KB, image/png)
2022-05-16 18:14 UTC, kurwang
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github stolostron backlog issues 22580 0 None None None 2022-05-16 23:33:50 UTC
Red Hat Product Errata RHSA-2022:6507 0 None None None 2022-09-13 20:06:30 UTC

Description kurwang 2022-05-16 18:14:54 UTC
Created attachment 1880237 [details]
After editing

Created attachment 1880237 [details]
After editing

Description of problem: When attempting to edit the yaml in creating a vSphere cluster, the text cursor automatically goes to the next line after I finished typing. I also noticed that some single quotes disappear and added to other values in the yaml editor.

Steps to Reproduce:
1. Click Create Cluster and select vSphere VMware and go to network
2. Toggle the yaml editor on
3. Attempt to edit the platform.vsphere.network value with something
4. After finishing typing, the value appears on the ui however the text cursor goes to the next line and some single quotes disappear and added to other places in the yaml editor

Actual results:
Text cursor is moved automatically to the next line after typing a value, single quotes seem to disappear and added other places in the yaml

Expected results:
Text cursor should remain where it is and not move to the next line after typing, and I believe no single quotes should disappear or added after typing?


Additional info:
Snapshot was 2.5.0-DOWNSTREAM-2022-05-13-16-47-16, found after verifying this bug https://bugzilla.redhat.com/show_bug.cgi?id=2080503

Comment 1 kurwang 2022-05-16 20:06:46 UTC
Also I would like to note that the install-config yaml editor looks fine, this behavior seems to only be happening in the cluster yaml editor

Comment 3 kurwang 2022-06-28 21:05:51 UTC
Hi I am still seeing the behavior where trying to type in the yaml moves the text cursor to the next line.
I manually selected vsphere from the UI before typing in the yaml then attempted to type something in a field like the original one inside the single quote.

I was using v2.5.1-FC2 build.

Comment 4 kurwang 2022-09-02 14:02:13 UTC
Fix verified in 2.5.2-DOWNSTREAM-2022-08-29-21-52-27

Comment 11 errata-xmlrpc 2022-09-13 20:06:21 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 (Critical: Red Hat Advanced Cluster Management 2.5.2 security fixes and bug fixes), 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/RHSA-2022:6507


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