Bug 643919
Summary: | Entering more than 3 Conditions on an alert gives a NPE | ||
---|---|---|---|
Product: | [Other] RHQ Project | Reporter: | dsteigne |
Component: | Alerts | Assignee: | RHQ Project Maintainer <rhq-maint> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Corey Welton <cwelton> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 3.0.0 | CC: | lkrejci |
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: | |||
Bug Depends On: | |||
Bug Blocks: | 616081, 625146 |
Description
dsteigne
2010-10-18 14:13:10 UTC
I was able to add more than 3 conditions without problem but got exactly the same exception as reported if I tried to save the alert without filling in the condition after clicking the "Add Another Condition" link. The below commit fixes that issue by showing an error message at the erroneous condition instead of throwing an unhandled exception. commit 82f1c5a794362e72e14f3b3b64170cd75a7c12b1 Author: Lukas Krejci <lkrejci> Date: Thu Nov 18 19:47:23 2010 +0100 BZ 643919 - Unspecified condition (that appears after clicking "Add Another Condition") doesn't cause an exception on alert saving. A proper error message appears instead. Note that I didn't port this fix to the master branch because of the GUI overhaul that happens there anyway. QA Verified - I am now able to add 3+ conditions, and per comment #1, was not able to repro the error when neglecting to fill in the conditions. Bookkeeping - closing bug - fixed in recent release. Bookkeeping - closing bug - fixed in recent release. Bookkeeping - closing bug - fixed in recent release. |