Project

General

Profile

Bug #20011

UI / Host Collection / Copy page missing validation

Added by Samir Jha about 5 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Host Collections
Target version:
Difficulty:
Triaged:
Bugzilla link:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1461016

Description of problem:
When creating host collection copy with invalid name (e.g. 300 chars long), pressing on `Create` button does nothing, there are no visible validation messages. Only console shows that POST request (POST https://sat6.com/katello/api/v2/host_collections/16/copy) returned `422 Unprocessable Entity`.

Version-Release number of selected component (if applicable):
Sat 6.3.0 Snap 2.0:
  • satellite-6.3.0-15.0.beta.el7sat.noarch
  • foreman-1.15.0-1.el7sat.noarch
  • katello-3.4.0-3.el7sat.noarch

How reproducible:
Always

Steps to Reproduce:
1. Navigate to Hosts / Host Collection
2. Select any exising host collection or create one
3. Select Action / Copy Host Collection
4. Insert invalid new name
5. Press create
6. Check for validation messages and/or browser console for logs

Actual results:
Clicking on create button does nothing

Expected results:
Visible validation message

Additional info:

Associated revisions

Revision 5ae62cf9 (diff)
Added by Samir Jha about 5 years ago

fixes #20011 - Host Collection/Copy page missing validation

History

#1 Updated by Samir Jha about 5 years ago

  • Assignee set to Samir Jha

#2 Updated by The Foreman Bot about 5 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/6824 added

#3 Updated by Brad Buckingham about 5 years ago

  • Target version set to 196

#4 Updated by Anonymous about 5 years ago

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

#5 Updated by Justin Sherrill about 5 years ago

  • Legacy Backlogs Release (now unused) set to 258

#6 Updated by Eric Helms about 5 years ago

  • Legacy Backlogs Release (now unused) changed from 258 to 267

#7 Updated by Eric Helms about 5 years ago

  • Legacy Backlogs Release (now unused) changed from 267 to 258

Also available in: Atom PDF