Bug 617773
Summary: | NPE on subsystem view for alert definitions | ||
---|---|---|---|
Product: | [Other] RHQ Project | Reporter: | Joseph Marques <jmarques> |
Component: | Core UI | Assignee: | Joseph Marques <jmarques> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | John Sanda <jsanda> |
Severity: | medium | Docs Contact: | |
Priority: | urgent | ||
Version: | 3.0.0 | CC: | cwelton, hrupp, jsanda |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Fixed In Version: | 2.4 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2010-08-12 16:57:00 UTC | 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: | 601949 |
Description
Joseph Marques
2010-07-23 22:11:13 UTC
commit 853e45e0e7d4723e8eab3eef3cb478c9a5d8ff82 (release-3.0.0) Author: Joseph Marques <joseph> Date: Fri Jul 23 18:24:35 2010 -0400 BZ-617773: only show resource-level alert definitions in the subsystem view * resource disambiguator doesn't support mixed results ** it can only disambiguate a list of resource-specific items * thus, change subsystem view to suppress alert templates / group alert definitions instead of doing 'LEFT JOIN' to fetch the resources in the query, just do 'JOIN' which is an inner join and so it will only return alert definitions that are directly attached to resources. *** Bug 617761 has been marked as a duplicate of this bug. *** Repro steps/environment? I remember not being able to reproduce this the other day. Is it just "Subsystem > Alert Definitions" and BOOM? As long as you have at least one group alert definition and/or alert template, the page would previously blow up. With the patch, only resource-level alert definitions are shown, so the no longer throws NPE. I tested this with build 78 of the tag-jon-release build which was upgraded from a 2.3.1 server having multiple alert definitions including group alerts and an alert template. The alert definition subsystem view now renders without error, listing my alert definitions. I can also confirm that this never bombs in 10888:29722f6 Mass-closure of verified bugs against JON. |