Bug 752893

Summary: yellow triangle icon does not disappear from summary area after user deletes all resource errors for a Resource
Product: [Other] RHQ Project Reporter: Ian Springer <ian.springer>
Component: Core UIAssignee: Ian Springer <ian.springer>
Status: CLOSED CURRENTRELEASE QA Contact: Mike Foley <mfoley>
Severity: medium Docs Contact:
Priority: high    
Version: 4.2CC: ccrouch, hrupp, mazz, skondkar
Target Milestone: ---   
Target Release: RHQ 4.3.0, JON 3.0.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 4.3 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-07 19:19:04 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: 745494    
Attachments:
Description Flags
screenshot #1
none
screenshot #2
none
screenshot #3
none
Screenshot none

Description Ian Springer 2011-11-10 18:19:30 UTC
After the user deletes all errors from the Resource Errors modal, the yellow triangle icon should go away, but it does not. See attached screenshots.

Comment 1 Ian Springer 2011-11-10 18:20:45 UTC
Created attachment 532893 [details]
screenshot #1

Comment 2 Ian Springer 2011-11-10 18:21:05 UTC
Created attachment 532894 [details]
screenshot #2

Comment 3 Ian Springer 2011-11-10 18:21:31 UTC
Created attachment 532895 [details]
screenshot #3

Comment 4 Ian Springer 2011-11-14 17:00:52 UTC
Fixed in master: http://git.fedorahosted.org/git/?p=rhq/rhq.git;a=commitdiff;h=7b576e4

Comment 5 Ian Springer 2011-11-14 17:17:35 UTC
QE, please test this in master, so we can decide if we want to cherry pick the fix into the jon3 branch.

Comment 6 John Mazzitelli 2011-11-29 13:09:35 UTC
Ian, what's a quick way to get a ResourceError into the system? I was going to write a test plugin but for QA to test this, they will need replication procedures to get these errors in there.

Comment 7 John Mazzitelli 2011-11-29 14:20:05 UTC
cherry-picked to release_jon3.x branch: 2af03f656585a994e8959faca9da0d3d83988c44

Comment 8 Ian Springer 2011-11-29 14:54:58 UTC
Go to a JBoss AS Server Resource that has secured JNP access and edit its connection settings. Set the principal and/or credentials to incorrect values; for example, change them from admin/admin to foobar/foobar. Click the Save button to save the connection settings. You should get an invalid plugin config ResourceError. Note, you may need to go to some other top level section of the GUI (e.g. Inventory or Reports) and then go back to the JBoss AS Server Resource in order to get the yellow triangle to appear.

Comment 9 Sunil Kondkar 2011-11-30 12:33:54 UTC
Verified in build#111 in release_jon3.x branch

The yellow triangle appeared on changing the JBoss AS Server principal and credentials to incorrect values. Deleted the the resource errors from the Resource Errors modal and verified that the yellow triangle disappears. Please refer the attached screenshot.

Marking as verified.

Comment 10 Sunil Kondkar 2011-11-30 12:34:54 UTC
Created attachment 538543 [details]
Screenshot

Comment 11 Mike Foley 2012-02-07 19:19:04 UTC
changing status of VERIFIED BZs for JON 2.4.2 and JON 3.0 to CLOSED/CURRENTRELEASE