Project

General

Profile

Actions

Bug #10537

closed

Content Hosts > Subscriptions: Switching between "List/Remove" and "Add" doesn't toggle right/leads to off-by-one

Added by Christine Fouant almost 9 years ago. Updated almost 6 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=1207488
Description of problem:
Within the content host UI, when user selects an item in "Add", switches between the two tabs and returns, the expected button is no longer enabled, and unchecking/checking leads to the UI reading "-1"/"0" instead of "0"/"1"

Version-Release number of selected component (if applicable):
Satellite-6.1.0-RHEL-7-20150324.0

How reproducible:

Steps to Reproduce:
1. Add a bunch of different content to an AC; register a system using AC
2. Hosts > Content Host > $hostname > Subscriptions
3. Noting "List/Remove" is the default tab, choose the "Add" tab.
4. Click an available item in "Add", but DO NOT click 'Add Selected'. Instead, nav back to the "List/Remove" tab.
5. Noting the "Remove Selected" button is (correctly) grayed out, immediately switch back to the "Add" Tab.
6. Note the state of the "Add Selected" button; select/deselect any item on list

Actual results:
  • Button is incorrectly grayed out upon return to tab
  • "x Selected" next to the "Add Selected button is incorrect.
  • toggling selector can mean the "x Selected" reads -1 instead of 0 and 0 instead of 1, respectively.

Expected results:

Keep track of tabs and items selected, appropriately

Additional info:

I haven't looked to see if this actually affects usability yet - maybe not. But it is not very pretty.

Actions #1

Updated by Eric Helms almost 9 years ago

  • translation missing: en.field_release set to 31
  • Triaged changed from No to Yes
Actions #2

Updated by The Foreman Bot almost 9 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/5243 added
  • Pull request deleted ()
Actions #3

Updated by Christine Fouant almost 9 years ago

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

Also available in: Atom PDF