Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1851017 - Position of text cursor in ace-editor wrong and hence unable to edit templates
Summary: Position of text cursor in ace-editor wrong and hence unable to edit templates
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Provisioning Templates
Version: 6.7.0
Hardware: Unspecified
OS: Unspecified
unspecified
urgent
Target Milestone: 6.8.0
Assignee: satellite6-bugs
QA Contact: Roman Plevka
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-06-25 12:39 UTC by Anand Agrawal
Modified: 2023-12-15 18:17 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1862240 (view as bug list)
Environment:
Last Closed: 2020-10-27 13:03:32 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
See the attached webm file (544.01 KB, video/webm)
2020-06-25 12:39 UTC, Anand Agrawal
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 29344 0 Normal Closed Position of text cursor in ace-editor wrong 2020-10-28 17:42:52 UTC
Red Hat Knowledge Base (Solution) 5215271 0 None None None 2020-07-09 14:57:16 UTC
Red Hat Product Errata RHSA-2020:4366 0 None None None 2020-10-27 13:03:53 UTC

Description Anand Agrawal 2020-06-25 12:39:21 UTC
Created attachment 1698778 [details]
See the attached webm file

Description of problem:

If the text line is long, the cursor position is wrong. Example

Cursor position: " hello Wo|rld" (= position after o)
You enter "12"

Result: " hello Worl|d12"



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

6.7

How reproducible:
Only at customer end.

Steps to Reproduce:
1.
2.
3.

Actual results:

If the text line is long, the cursor position is wrong. Example

Cursor position: " hello Wo|rld" (= position after o)
You enter "12"

Result: " hello Worl|d12"



Expected results:

If the text line is long, the cursor position is wrong. Example

Cursor position: " hello Wo|rld" (= position after o)
You enter "12"

Result: " hello Wo12rld"

Additional info:
This is fixed in upstream https://projects.theforeman.org/issues/29344

Comment 4 Roman Plevka 2020-07-03 12:16:14 UTC
VERIFIED
on sat6.8.0-7

tested in Version 81.0.4044.138 
and firefox 76.0.1 (64-bit)

the Ace editor now performs correctly and the reported behavior is gone.
I also tried to change the size of the window during the editing and everything worked fine.

Comment 5 wclark 2020-07-09 05:46:34 UTC
HOTFIX is available for Satellite 6.7.1. To install the Hotfix, please follow the below instructions.

1. Since the HF RPM is too large to be provided as a Bugzilla attachment, please open a case with Red Hat Technical Support to request the HF RPM

2. Take a complete backup or snapshot or your Satellite server

3. Copy the HF RPM to Satellite server

4. # rpm -Uvh --nodeps /root/foreman-1.24.1.21-2.HOTFIXRHBZ1851017.el7sat.noarch.rpm

5. # satellite-maintain service restart

Comment 9 errata-xmlrpc 2020-10-27 13:03:32 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 (Important: Satellite 6.8 release), 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-2020:4366


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