Project

General

Profile

Bug #5834

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

Added by Dominic Cleal about 5 years ago. Updated 11 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Host creation
Target version:
Difficulty:
Triaged:
Bugzilla link:
Pull request:
Team Backlog:
Fixed in Releases:
Found in Releases:

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

Has duplicate Foreman - Bug #5644: Misleading period while creating new hostDuplicate2014-05-09
Has duplicate Foreman - Bug #4602: misleading error regarding host name when creating a hostNew2014-03-09

Associated revisions

Revision e254ea51 (diff)
Added by Joseph Magen almost 5 years ago

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

Revision 02d675cb (diff)
Added by Joseph Magen almost 5 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 about 5 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 about 5 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Joseph Magen
  • Target version set to 1.8.2

#3 Updated by Dominic Cleal almost 5 years ago

  • Legacy Backlogs Release (now unused) set to 16

#4 Updated by Joseph Magen almost 5 years ago

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

#5 Updated by Dominic Cleal almost 5 years ago

  • Has duplicate Bug #5644: Misleading period while creating new host added

#6 Updated by Dominic Cleal almost 5 years ago

  • Has duplicate Bug #4602: misleading error regarding host name when creating a host added

Also available in: Atom PDF