Bug #10537
closedContent Hosts > Subscriptions: Switching between "List/Remove" and "Add" doesn't toggle right/leads to off-by-one
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
- 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.
Updated by Eric Helms over 9 years ago
- Translation missing: en.field_release set to 31
- Triaged changed from No to Yes
Updated by The Foreman Bot over 9 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/Katello/katello/pull/5243 added
- Pull request deleted (
)
Updated by Christine Fouant over 9 years ago
- % Done changed from 0 to 100
- Status changed from Ready For Testing to Closed
Applied in changeset katello|254542f5bb82cf5fcf840b3d1a00664dd44541c0.