Bug #5834

Hosts: "." in the name is invalid - user is told this but the UI adds one anyway.

Added by Dominic Cleal over 3 years ago. Updated over 3 years ago.

Status:Closed
Priority:Normal
Assigned To:Joseph Magen
Category:Host creation
Target version:Sprint 24
Difficulty: Bugzilla link:1087628
Found in release: Pull request:
Story points-
Velocity based estimate-
Release1.5.1Release relationshipAuto

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1087628
Description of problem:
When user begins creating a host, enters a string in the Name field, and submits, they are told "must not include periods and is invalid". It turns out the UI itself is adding this "."!

Version-Release number of selected component (if applicable):
Satellite-6.0.3-RHEL-6-20140404.0

How reproducible:

Steps to Reproduce:
1. Hosts > New Host
2. for Name, enter the value "abcdef"
3. Hit the submit button (yes, obv. there are other things that need to get filled out to create a host, but inconsequential for this test)
4. View results.

Actual results:
error message: "must not include periods and is invalid"
sure enough, a "." is added to the end of the string (it reads "abcdef."

Expected results:
No extraneous "."!

Additional info:
Occurs in Chrome and FF.


Related issues

Duplicated by Foreman - Bug #5644: Misleading period while creating new host Duplicate 05/09/2014
Duplicated by Foreman - Bug #4602: misleading error regarding host name when creating a host New 03/09/2014

Associated revisions

Revision e254ea51
Added by Joseph Magen over 3 years ago

fixes #5834 - Hosts: . in the name is invalid - user is told this but the UI adds one anyway

Revision 02d675cb
Added by Joseph Magen over 3 years ago

fixes #5834 - Hosts: . in the name is invalid - user is told this but the UI adds one anyway

(cherry picked from commit e254ea513a803d651d2f0cfbee5162db414b0b80)

History

#1 Updated by Dominic Cleal over 3 years ago

  • Category set to Host creation

Please note that this bug is very specific. A user is still expected to specify a domain on the Network tab, or may enter an FQDN in the name field if it matches one of the known domains.

#2 Updated by Joseph Magen over 3 years ago

  • Status changed from New to Ready For Testing
  • Assigned To set to Joseph Magen
  • Target version set to Sprint 24

#3 Updated by Dominic Cleal over 3 years ago

  • Release set to 1.5.1

#4 Updated by Joseph Magen over 3 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#5 Updated by Dominic Cleal over 3 years ago

  • Duplicated by Bug #5644: Misleading period while creating new host added

#6 Updated by Dominic Cleal over 3 years ago

  • Duplicated by Bug #4602: misleading error regarding host name when creating a host added

Also available in: Atom PDF