Bug 746669
Summary: | Recent alerts portlet seems broken | ||
---|---|---|---|
Product: | [Other] RHQ Project | Reporter: | Jay Shaughnessy <jshaughn> |
Component: | Core UI | Assignee: | Ian Springer <ian.springer> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Mike Foley <mfoley> |
Severity: | urgent | Docs Contact: | |
Priority: | urgent | ||
Version: | 4.1 | CC: | ccrouch, hrupp |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Fixed In Version: | 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: |
Description
Jay Shaughnessy
2011-10-17 13:41:24 UTC
This was an existing bug that was flushed out by my recent changes to Table.refresh(). Most of our Table subclasses call setDataSource() in their constructor to set the Table's dataSource. However, AbstractRecentAlertsPortlet and some other subclasses instead override getDataSource() in order to set the dataSource. Table was using this.dataSource, rather than getDataSource(), in a number of places, which ends up returning null for the latter group of subclasses (since setDataSource() was never called by the subclass). The fix is for Table to always call getDataSource() when it needs the dataSource. [master fd5370e] (http://git.fedorahosted.org/git/?p=rhq/rhq.git;a=commitdiff;h=fd5370e) verified changing status of VERIFIED BZs for JON 2.4.2 and JON 3.0 to CLOSED/CURRENTRELEASE marking VERIFIED BZs to CLOSED/CURRENTRELEASE |