Project

General

Profile

Actions

Bug #6428

closed

"Add-to" and "Remove-from" buttons needs to be disabled when no host-collection was listed/selected

Added by Brad Buckingham over 9 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Category:
Web UI
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1109062
Description of problem:
I was trying to perform bulk actions on selected content-hosts and choose "Host collections" tab from "Bulk Actions".

I found there was no host-collection listed. But "Add-To" and "Remove-From" button were enabled. When I clicked on "Add-To", a confirmation dialog appears too saying:

Are you sure you want to add the 2 content host(s) selected to the host collection(s) chosen?

Please see screenshot.

Since no host-collection was listed/selected, this msg is misleading for this case. So I think both buttons needs to be disbaled when no "host-collected was listed/selected.

Version-Release number of selected component (if applicable):
sat6 beta snap9 compose2 (Satellite-6.0.3-RHEL-6-20140612.1)

How reproducible:
always

Steps to Reproduce:
1. register 2-3 content-host
2. Go to content-host --> select 2-3 and click on "bulk Actions"
3. select "Host-collection" tab
4. Click on "Add-To"

Actual results:
a confirmation dialog appears without selecting host-collection saying:

Are you sure you want to add the 2 content host(s) selected to the host collection(s) chosen?

And on clicking yes, UI went into "processing" state with a rotating spinner.

Expected results:
Buttons needs to be disabled, when no host-collection was listed/selected

Additional info:

Actions #1

Updated by Brad Buckingham over 9 years ago

  • Assignee set to Brad Buckingham
  • Target version set to 48
  • translation missing: en.field_release set to 13
  • Triaged set to Yes
Actions #2

Updated by Brad Buckingham over 9 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF