Bug 734438

Summary: Entire Dashboard gets blocked if we add a dashboard with column count 0
Product: [Other] RHQ Project Reporter: Jeeva Kandasamy <jkandasa>
Component: Core UIAssignee: Ian Springer <ian.springer>
Status: CLOSED CURRENTRELEASE QA Contact: Mike Foley <mfoley>
Severity: urgent Docs Contact:
Priority: medium    
Version: 4.1CC: ccrouch, hrupp, ian.springer
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: 4.2 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-07 19:23:45 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: 730796, 745494    
Attachments:
Description Flags
Screen shot
none
GUI exception log none

Description Jeeva Kandasamy 2011-08-30 12:05:49 UTC
Created attachment 520601 [details]
Screen shot

Description of problem:
Entire Dashboard gets blocked if we add a dashboard with column count 0.
Exception: java.lang.IllegalArgumentException:Invalid number of columns [0]

Version-Release number of selected component (if applicable):
Version: 4.1.1-BETA1
Build Number: 6db75f8
GWT Version: 2.0.4
SmartGWT Version: 2.4
Browser: Firefox 3.6.18

How reproducible:
100%

Steps to Reproduce:
1.Navigate to 'Dashboard'
2.Go to edit mode with existing dashboard or click on new dashboard
3.Remove the column(s) until column count gets 0
4.Save the changes.
5.Navigate to some other menu
6.Navigate back to dashboard, throws 'Globally uncaught exception'
  
Actual results:
throws 'Globally uncaught exception'

Expected results:
Dashboard page should work.

Additional info: Screen shot and GUI error stack are attached.

Comment 1 Jeeva Kandasamy 2011-08-30 12:06:30 UTC
Created attachment 520602 [details]
GUI exception log

Comment 2 Ian Springer 2011-10-24 18:33:28 UTC
We no longer permit the user to set the # of columns on a dashboard to 0 - [master cf754b3].

Comment 3 Mike Foley 2011-10-26 15:01:29 UTC
verified build #640

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