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 1327670 - WebUI - invalid user name string propagates to the main menu
Summary: WebUI - invalid user name string propagates to the main menu
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: WebUI
Version: 6.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: Unspecified
Assignee: Shlomi Zadok
QA Contact: Roman Plevka
URL: http://projects.theforeman.org/issues...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-15 15:23 UTC by Roman Plevka
Modified: 2019-09-26 16:21 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-07-27 11:37:40 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
username glitch (62.39 KB, image/png)
2016-04-15 15:24 UTC, Roman Plevka
no flags Details
edit_user-fix (24.70 KB, image/png)
2016-05-13 11:39 UTC, Roman Plevka
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 14691 0 None None None 2016-04-22 16:56:54 UTC

Description Roman Plevka 2016-04-15 15:23:01 UTC
Description of problem:
While updating own name/surname, the new string gets displayed in the main menu even when it's invalid (e.g. too long) (see screenshot).
This is not permanent as the form can't be successfully submitted and disappears as soon as user get the name right or cancels the form. 

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

How reproducible:
always

Steps to Reproduce:
1. navigate to My Profile > Edit User
2. update first name/surname to some invalid string
3. hit submit

Actual results:
the name updates in the main menu even if it's not valid

Expected results:
no change is done until form successfully submits the valid data

Additional info:

Comment 1 Roman Plevka 2016-04-15 15:24:07 UTC
Created attachment 1147689 [details]
username glitch

Comment 3 Brad Buckingham 2016-04-18 17:24:52 UTC
Created redmine issue http://projects.theforeman.org/issues/14691 from this bug

Comment 4 Bryan Kearney 2016-04-18 18:02:09 UTC
Upstream bug component is Provisioning

Comment 5 Bryan Kearney 2016-04-19 08:02:23 UTC
Upstream bug component is WebUI

Comment 6 Bryan Kearney 2016-04-19 10:02:05 UTC
Upstream bug assigned to szadok

Comment 7 Bryan Kearney 2016-04-19 16:02:22 UTC
Moving to POST since upstream bug http://projects.theforeman.org/issues/14691 has been closed
-------------
Shlomi Zadok
Applied in changeset commit:2f0bcd5a05b531b28700f638b902bb2c801013c3.

Comment 8 Roman Plevka 2016-05-13 11:38:28 UTC
VERIFIED

on sat6.2.0 Beta (GA11.0)

the username does not change until the details are successfully saved

Comment 9 Roman Plevka 2016-05-13 11:39:04 UTC
Created attachment 1157086 [details]
edit_user-fix

Comment 10 Bryan Kearney 2016-07-27 11:37:40 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-2016:1501


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