Bug 743271

Summary: Exception on navigating Inventory->Connection Settings History tab of a resource
Product: [Other] RHQ Project Reporter: Sunil Kondkar <skondkar>
Component: Core UIAssignee: Ian Springer <ian.springer>
Status: CLOSED CURRENTRELEASE QA Contact: Mike Foley <mfoley>
Severity: high Docs Contact:
Priority: high    
Version: 4.1CC: ccrouch, hrupp
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-07 19:22:44 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: 734807    
Attachments:
Description Flags
Exception_ServerLog none

Description Sunil Kondkar 2011-10-04 13:00:18 UTC
Description of problem:

Updated and saved the connection settings of a resource(enabled augeas support for apache resource), when navigated to the Inventory->Connection Settings History tab, the server log displays the LazyInitializationException.

Please find attached the server log.

Version-Release number of selected component (if applicable):
Build#459 (Version: 4.1.0-SNAPSHOT Build Number: 8368e38)

How reproducible:
Always

Steps to Reproduce:

1. Inventory Apache server to RHQ.
2. Navigate to Inventory->Connection Settings tab of the apache resource.
3. Enable augeas support and save.
4. Click on the Connection Settings History tab.
  
Actual results:
Navigating to the Inventory->Connection Settings History tab, the server log displays the exception.

Expected results:
Exception should not be displayed.

Additional info:

Comment 1 Sunil Kondkar 2011-10-04 13:01:29 UTC
Created attachment 526243 [details]
Exception_ServerLog

Comment 2 Ian Springer 2011-10-05 16:50:38 UTC
[master 889c8a7] should fix this.

Comment 3 Ian Springer 2011-10-05 16:52:43 UTC
Note, this bug was only occurring for Resources with connection settings that contained one or more properties of type PASSWORD (e.g. a JBoss AS Server Resource). This is because the bug was in the config masking code.

Comment 4 Mike Foley 2011-10-05 20:18:26 UTC
verified build #476 by editing a connection setting on AS7 resource ... and then navigating to the connection setting history tab.

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