Bug 696667

Summary: Some list views require refresh for initial population
Product: [Other] RHQ Project Reporter: Jay Shaughnessy <jshaughn>
Component: Core UIAssignee: Jay Shaughnessy <jshaughn>
Status: CLOSED CURRENTRELEASE QA Contact: Corey Welton <cwelton>
Severity: urgent Docs Contact:
Priority: medium    
Version: 4.0.0.Beta2CC: hrupp, skondkar
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: 4.0 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
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: 585306    

Description Jay Shaughnessy 2011-04-14 15:05:07 UTC
A fix to eliminate duplicate refresh of table data (commit abc7cd665aa8a)
    exposed issues in some of our view impls that unintentionally relied
    on the refresh (second fetch) to work.

    In short, the broken views need to supply initialCriteria for the first
    fetch (initiated by autoFetch=true on the listgrid).

    The following views have been identified:


AlertHistory
EventHistory
OperationHistory

Comment 1 Jay Shaughnessy 2011-04-14 16:26:38 UTC
commit a0b2e2aaa069a387fde1963071b75cf649f30084
Author: Jay Shaughnessy <jshaughn>
Date:   Thu Apr 14 12:23:06 2011 -0400

    This commit:
    - fixes alert history view
    - fixes operation history view
    - fixes an I18N issue if the event history severity filter
    - expands impl and consolidates use of EnumSelectItem for enum based filters
    - add and fixes some constant usage for filter widget names
    - changes I18N values for alert prio from uppercase to capitalized values


This commit should finish the fixes for the 3 known problem views. navigating to these views should now initially populate with unfiltered rows.

Comment 2 Sunil Kondkar 2011-04-25 09:19:34 UTC
Verified on build#1175(Version: 4.0.0-SNAPSHOT Build Number: a90faf9)

Navigated to the below tabs of a resource:

Alerts->History
Events->History
Operations->history

Navigating to these tabs populate the unfiltered rows without refreshing.

Marking as verified.

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

Comment 4 Corey Welton 2011-05-24 01:11:14 UTC
Bookkeeping - closing bug - fixed in recent release.