Bug 691792 - when no alert priority/event severity filters are selected, don't return data
Summary: when no alert priority/event severity filters are selected, don't return data
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: RHQ Project
Classification: Other
Component: Core UI
Version: 4.0.0.Beta1
Hardware: Unspecified
OS: Unspecified
medium
medium vote
Target Milestone: ---
: ---
Assignee: John Mazzitelli
QA Contact: Corey Welton
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-03-29 13:43 UTC by John Mazzitelli
Modified: 2011-05-24 01:09 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-05-24 01:09:50 UTC


Attachments (Terms of Use)

Description John Mazzitelli 2011-03-29 13:43:13 UTC
Go to the alert history or event history pages where you do have alerts/events.

go to the alert priority/event severity filter - deselect all priorities/severities.

notice you get all rows.

the thought was that we do not have any filters, so return everything.

however, because the UI renders these options with checkboxes, it doesn't make sense - if I check all the filter options, I should get all the data, but if I de-select all the filter options, I should get no data.

We should change this so when nothing is selected (priority/severity filter is empty, nothing checked), we should return no data.

Comment 1 John Mazzitelli 2011-03-29 13:45:06 UTC
commit 769949fb28b0beeeba6c076130708c8a534cce88

to test:

1) get alerts and events into the DB
2) go to the alert history, de-select all priorities in the alert priority filter
3) see that no alerts are returned
4) select all priorities and see that all alerts are shown
5) go to the event history page and do the same (de-select all severities, see no data, select all severities, see all data)

Comment 2 Sunil Kondkar 2011-04-29 11:00:55 UTC
Verified on build#39 (Version: 4.0.0-SNAPSHOT Build Number: 15a53e5)

Created and triggered alerts of different priorities on a resource and enabled events.
Navigated to the alert history page. On de-selecting all priorities in the alert priority filter does not return any alerts. on selecting all the priorities, all alerts are shown.
Also tested this on event history page. The data is displayed according to the selected severity only in the severity filter.

Marking as verified.

Comment 3 Corey Welton 2011-05-24 01:09:50 UTC
Bookkeeping - closing bug - fixed in recent release.


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