Bug 790098

Summary: Drift: Unchecking the 'File Changed' option in 'Category' drop-down in the carousel view displays Globally uncaught exception
Product: [Other] RHQ Project Reporter: Charles Crouch <ccrouch>
Component: Core UIAssignee: Jay Shaughnessy <jshaughn>
Status: CLOSED CURRENTRELEASE QA Contact: Mike Foley <mfoley>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.2CC: hbrock, hrupp, jshaughn, skondkar, spinder
Target Milestone: ---Keywords: Reopened
Target Release: JON 3.0.1   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 760105 Environment:
Last Closed: 2013-09-03 15:03:14 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: 760105    
Bug Blocks: 752488    

Description Charles Crouch 2012-02-13 16:31:27 UTC
+++ This bug was initially created as a clone of Bug #760105 +++

Description of problem:

Create a drift definition specifying the Base Directory where a file exists. Change the file and wait till snapshot 1 is created. In the carousel view, Uncheck the 'File Changed' option in 'Category' dropdown. it displays a Globally uncaught exception in UI and in message center. There is no error in server/agent log.

Please refer the attached stack trace in message center. 

Version-Release number of selected component (if applicable):

Jon3GA build

How reproducible:

Always

Steps to Reproduce:

1. Create a text file on platform at some directory(Ex: Test.txt)
2. Login to RHQ and create a drift definition on inventoried platform specifying the base Directory where the file is created.
3. Wait till the initial snapshot gets created.
4. Edit and make some changes in the same text file  on platform.
5. Wait till the Snapshot 1 gets created.
6. Navigate to the drift definition and click on the drift definition name link.
7. In the 'Category' drop-down, uncheck the 'File Changed' option.
8. It displays a 'Globally uncaught exception'.
  
Actual results:

Globally uncaught exception. 

Expected results:

No exception should be displayed. 

Additional info:

--- Additional comment from skondkar on 2011-12-05 07:59:36 EST ---

Created attachment 540850 [details]
StackTrace

--- Additional comment from jshaughn on 2011-12-05 10:31:04 EST ---

recreated, investigating...

--- Additional comment from jshaughn on 2011-12-05 11:15:34 EST ---


master         commit be9d41a3a6e8be965b5d016bea666c38af29b31c
release_jon3.x commit 168ac7ba4dc74dfea2fef0bf8331cafdae6cf7fa

    This had to do with the filtering leaving no eligible snapshots.

--- Additional comment from mfoley on 2011-12-05 11:26:19 EST ---

qe is requesting a developer code review for this late change in jon 3

--- Additional comment from jshaughn on 2011-12-05 11:58:48 EST ---


My mistake, this was never pushed to the release_jon3.x branch.

--- Additional comment from skondkar on 2011-12-07 07:08:59 EST ---

Verified in maser build#818 (Version: 4.3.0-SNAPSHOT Build Number: bf5446c)

Followed the steps and verified that unchecking the 'File Changed' option does not display any exception.

--- Additional comment from skondkar on 2011-12-09 06:53:18 EST ---

Marking as verified.

--- Additional comment from skondkar on 2011-12-09 06:54:12 EST ---

Marking as verified.

--- Additional comment from mfoley on 2012-02-07 14:24:55 EST ---

changing status of VERIFIED BZs for JON 2.4.2 and JON 3.0 to CLOSED/CURRENTRELEASE

--- Additional comment from mfoley on 2012-02-07 14:25:17 EST ---

marking VERIFIED JON 3 bugs to CLOSED/CURRENTRELEASE

--- Additional comment from ccrouch on 2012-02-13 11:29:52 EST ---

Setting Target Release correctly

Comment 1 Jay Shaughnessy 2012-02-13 18:58:45 UTC
Cherry picked from master:

release/jon3.0.x commit: 63957050f668025e2284b9db58dd6ca863036f16

Test Notes:
Ensure that filter settings that would eliminate all snapshots
do not cause a problem.

Comment 2 Simeon Pinder 2012-02-17 05:35:58 UTC
Moving to ON_QA for testing with JON 3.0.1.GA RC5 or better:
https://brewweb.devel.redhat.com//buildinfo?buildID=199114

Comment 3 Mike Foley 2012-02-17 18:33:12 UTC
verified JON 3.01 RC5

Comment 4 Heiko W. Rupp 2013-09-03 15:03:14 UTC
Bulk closing of old issues in VERIFIED state.