Project

General

Profile

Bug #10537

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

Added by Christine Fouant almost 8 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Category:
Web UI
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

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.

Associated revisions

Revision 254542f5 (diff)
Added by Christine Fouant almost 8 years ago

fixes #10537 - Fixes toggle issue when switching between subscription panes on content host, BZ1207488

Revision 0bcd430c
Added by Christine Fouant almost 8 years ago

Merge pull request #5243 from cfouant/ch-ui

fixes #10537 - Fixes toggle issue when switching between subscription panes on content host, BZ1207488

History

#1 Updated by Eric Helms almost 8 years ago

  • Legacy Backlogs Release (now unused) set to 31
  • Triaged changed from No to Yes

#2 Updated by The Foreman Bot almost 8 years ago

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

#3 Updated by Christine Fouant almost 8 years ago

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

Also available in: Atom PDF