Bug 172450

Summary: Cannot rename profile name using Sat 4.0 & rhel3
Product: [Retired] Red Hat Network Reporter: Matthew Davis <mdavis>
Component: RHN/Web SiteAssignee: Mike McCune <mmccune>
Status: CLOSED CURRENTRELEASE QA Contact: Fanny Augustin <fmoquete>
Severity: medium Docs Contact:
Priority: medium    
Version: rhn400CC: cperry, rhn-bugs
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: rhn405 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-01-25 05:52:04 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 167313    

Description Matthew Davis 2005-11-04 17:30:40 UTC
Description of problem:
Renaming a system profile name to anything throws the error:

"A system name must contain only ascii characters."

I've tried the following:

dhcp
dhcp01
dhcp-
dhcp.01.redhat.com

All throw the above error

Version-Release number of selected component (if applicable):
4.0.3-2 (testsat.gsslab.rdu.redhat.com)
And reproduced it on rlx-3-14.rhndev.redhat.com (rhel3)

Note, rhel4 is not effected.

How reproducible:
Everytime

Steps to Reproduce:
1. Go to edit a system profile
2. Put anything in there
  
Actual results:
Above error.

Expected results:
Name changed

Comment 3 Mike McCune 2005-11-08 23:43:55 UTC
taking a look at this one.

Comment 4 Mike McCune 2005-11-08 23:51:19 UTC
reproduced on my rhel3 workstation.  working on a fix.

Comment 5 Mike McCune 2005-11-09 18:36:25 UTC
checked fix into RELEASE-4.0 and trunk.  

Comment 6 Mike McCune 2005-11-15 23:22:19 UTC
TESTPLAN:

0) On a RHEL3 4.0.5 satellite.

1) Navigate to Systems -> System -> Details -> Edit properties

2) add an "x" to the end of the system name

3) submit page.  It should update correctly.

4) re-edit the system name again.  Insert some Japanese/Korean/Chinese 
   characters. (translate.google.com is good for generating some)

5) Submit the form.  You should get an error message:
   "Desired System Name contains invalid characters. In addition to 
    alphanumeric characters, '-', '_', '.', and '@' are allowed. Please
    try again"

6) Repeat test on RHEL4 satellite or Hosted.


Comment 7 Todd Warner 2005-11-18 20:08:04 UTC
Move bugs from Vlad's plate to Fanny's plate (QA contact)

Comment 8 Fanny Augustin 2005-12-07 20:10:48 UTC
Looks good on QA

Comment 10 Todd Warner 2006-01-25 05:52:04 UTC
Released.