Bug 1337550

Summary: Select All button does not work when adding System to SystemGroup
Product: Red Hat Satellite 5 Reporter: Ales Dujicek <adujicek>
Component: WebUIAssignee: Grant Gainey <ggainey>
Status: CLOSED CURRENTRELEASE QA Contact: Lukáš Hellebrandt <lhellebr>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 570CC: lhellebr, tlestach
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-06-21 12:15:16 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1358815    

Description Ales Dujicek 2016-05-19 12:35:51 UTC
Description of problem:

When adding System to System Group
   Systems > *select* > Groups > Join
   /rhn/systems/details/groups/Add.do?sid=1000010000&
Select All button actually does not select anything.


Version-Release number of selected component (if applicable):
spacewalk-java-2.3.8-140
spacewalk-backend-2.3.3-42


How reproducible:
always

Steps to Reproduce:
1. Systems > *select* > Groups > Join (/rhn/systems/details/groups/Add.do?sid=1000010000&)
2. hit 'Select All'
There is "1 - 2 of 2 (2 selected)" under the table, but no checkboxes get checked
3. hit 'Join Selected Groups'
system is not added to any groups


Actual results:
There was no selection. Please make your selection and try again.

Expected results:
XX system groups added.

Additional notes:
 * works on Spacewalk 2.4, and 2.5 nigtly
 * it is not a regression caused by bz1291031 as it has the same bahavior before

Comment 1 Grant Gainey 2017-05-17 20:12:23 UTC
Working in 5.8

Comment 2 Lukáš Hellebrandt 2017-05-18 13:46:27 UTC
Verified with sat580 compose from 2017-05-15.

Used reproducer from OP. The selected groups now got added.

Also checked that modifying groups using SSM didn't get broken by this.