Bug 749654 - selector widget: if there are more than the maximum available records in the DB, there is no way to view the remaining records for selectors that do not provide any filter fields
Summary: selector widget: if there are more than the maximum available records in the ...
Status: CLOSED CURRENTRELEASE
Alias: None
Product: RHQ Project
Classification: Other
Component: Core UI
Version: 4.1
Hardware: Unspecified
OS: Unspecified
medium
high vote
Target Milestone: ---
: ---
Assignee: Ian Springer
QA Contact: Mike Foley
URL:
Whiteboard:
Keywords:
Depends On:
Blocks: jon3
TreeView+ depends on / blocked
 
Reported: 2011-10-27 19:42 UTC by Ian Springer
Modified: 2013-08-06 00:41 UTC (History)
2 users (show)

(edit)
Clone Of:
(edit)
Last Closed: 2012-02-07 19:29:37 UTC


Attachments (Terms of Use)

Description Ian Springer 2011-10-27 19:42:45 UTC
There are four selector impls that do not provide any filter fields:

- RoleSubjectSelector
- SystemUsersNotificationSenderForm$SubjectSelector
- SubjectRoleSelector
- SystemRolesNotificationSenderForm$RoleSelector

Comment 1 Ian Springer 2011-10-27 19:49:27 UTC
[master 4d78975] (http://git.fedorahosted.org/git/?p=rhq/rhq.git;a=commit;h=4d78975) provides a stop-gap workaround for RHQ 4.2. We simply override getMaxAvailableRecords() in the four selectors with no filters and return 500, rather than the default of 100, i.e.:

        @Override
        protected int getMaxAvailableRecords() {
            return 500;
        }

The permanent and more robust fix for JON 3.0 will be to add one or more filters to each of the four selectors.

Comment 2 Mike Foley 2011-10-27 20:06:04 UTC
info on verification ....

RoleSubjectSelector and SubjectRoleSelector are on the pages where you add users to roles and roles to users  so around the workflow of adding an RHQ user

Comment 3 Mike Foley 2011-10-27 20:08:20 UTC
SystemUsersNotificationSenderForm$SubjectSelector and SystemRolesNotificationSenderForm$RoleSelector would be for when you are setting up email notifications from an alert and you went to send emails to either a particular user or all the users in a particular role

Comment 4 Mike Foley 2011-10-28 15:08:44 UTC
verified RHQ master 10/28/2011:

1) create roles
2) create users
3) alert notification with email notification to system user
4) alert notification with email notification to system role

Comment 5 Mike Foley 2012-02-07 19:29:37 UTC
changing status of VERIFIED BZs for JON 2.4.2 and JON 3.0 to CLOSED/CURRENTRELEASE

Comment 6 Mike Foley 2012-02-07 19:30:18 UTC
marking VERIFIED BZs to CLOSED/CURRENTRELEASE


Note You need to log in before you can comment on or make changes to this bug.