Bug 568537

Summary: Alerts, alert names are not displayed correctly on alert definition page
Product: [Other] RHQ Project Reporter: wes hayutin <whayutin>
Component: AlertsAssignee: Heiko W. Rupp <hrupp>
Status: CLOSED CURRENTRELEASE QA Contact: Corey Welton <cwelton>
Severity: medium Docs Contact:
Priority: high    
Version: 3.0.0CC: bkearney, ckannan, cwelton, spandey
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
URL: http://10.16.120.51:7080/rhq/subsystem/alertDefinitions.xhtml
Whiteboard:
Fixed In Version: 2.4 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-08-12 16:54:06 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: 565635    
Attachments:
Description Flags
ss01
none
ss02
none
ss03 none

Description wes hayutin 2010-02-25 22:36:21 UTC
Description of problem:

See screenshots.
I have six alerts created, 5 on the agent resource and 1 on the platform resource. Each alert has a unique name, however the alert definition page lists the same alert 5 times.  

recreate:
create more than two alerts with unique names
go to the alert definition page
notice some of the alerts have the same name

It is much easier to see the problem in the attached screenshots.
	
	10-16-120-51.guest.rhq.lab.eng.bos.redhat.com RHQ Agent	10-16-120-51.guest.rhq.lab.eng.bos.redhat.com	Alert Definition	2/25/10, 5:16:33 PM, EST	operations	Update All Plugins Success	true	N/A
	10-16-120-51.guest.rhq.lab.eng.bos.redhat.com RHQ Agent	10-16-120-51.guest.rhq.lab.eng.bos.redhat.com	Alert Definition	2/25/10, 5:16:33 PM, EST	operations	Update All Plugins Success	true	N/A
	10-16-120-51.guest.rhq.lab.eng.bos.redhat.com RHQ Agent	10-16-120-51.guest.rhq.lab.eng.bos.redhat.com	Alert Definition	2/25/10, 5:16:33 PM, EST	operations	Update All Plugins Success	true	N/A
	10-16-120-51.guest.rhq.lab.eng.bos.redhat.com RHQ Agent	10-16-120-51.guest.rhq.lab.eng.bos.redhat.com	Alert Definition	2/25/10, 5:16:33 PM, EST	operations	Update All Plugins Success	true	N/A
	10-16-120-51.guest.rhq.lab.eng.bos.redhat.com RHQ Agent	10-16-120-51.guest.rhq.lab.eng.bos.redhat.com	Alert Definition	2/25/10, 5:16:33 PM, EST	operations	Update All Plugins Success	true	N/A
	10-16-120-51.guest.rhq.lab.eng.bos.redhat.com		Alert Definition	2/25/10, 5:07:06 PM, EST	3333333333333333333333333333333333a;lsfjals;3333333333333333333333333333333333a;lsfjals;djfl34343434	Used Memory > 0.0B	true	N/A

Comment 1 wes hayutin 2010-02-25 22:36:59 UTC
Created attachment 396411 [details]
ss01

Comment 2 wes hayutin 2010-02-25 22:37:25 UTC
Created attachment 396412 [details]
ss02

Comment 3 wes hayutin 2010-02-25 22:37:54 UTC
Created attachment 396413 [details]
ss03

Comment 4 wes hayutin 2010-02-25 22:44:39 UTC
deleted all the original alerts and recreated w/ just two alerts.

Comment 5 wes hayutin 2010-02-25 22:45:29 UTC
build commit f3d2b483a01c8771e106c407f4af8473bb1e61fb

Comment 6 Justin Harris 2010-03-05 18:31:12 UTC
I think that Heiko has a better idea about what is causing this scenario - passing to him.

Comment 7 Heiko W. Rupp 2010-03-22 10:10:33 UTC
I think this has been caused by changes in the resource naming.

I also think Lukas has fixed his code - I can't see the issue in my local tree anymore (and had seen it before).

Comment 8 Corey Welton 2010-03-22 19:32:50 UTC
QA Verified, this now shows up correctly.

Comment 9 Corey Welton 2010-08-12 16:54:06 UTC
Mass-closure of verified bugs against JON.