Created attachment 520359 [details]
Description of problem:
Seems dashboard name max length supported on Database is 200 chars. There is no restriction on client side (GUI). If we enter more than 200 chars throws exception on server backed and error message on GUI, but it is not much relevant for this error. GWT shows new name until navigate to another menu!
Version-Release number of selected component (if applicable):
Build Number: a98c893
GWT Version: 2.0.4
SmartGWT Version: 2.4
Browser: Firefox 3.6.18
OS: RHEL 6.1 X86_64
Steps to Reproduce:
1.Navigate to dashboard
2.Select a dashboard and go to edit mode
3.Change the name, new name length should be more than 200 chars
4.Click on 'View mode'
5.Throws exception on back-end (valid), but new name is showing on dashboard until navigate to some other menu.
Throws exception on backend and exception message on GUI (not much user friendly), GWT holds new name until navigate to another menu.
Should be validated on client side itself, do not load server with huge error trace. On GUI side message should be more specific for this error and old name should be retained on GWT.
Additional info: Screen shot and log files are attached.
Created attachment 520360 [details]
back-end log file from server
Fixed - [master e91ab5c] (http://git.fedorahosted.org/git/?p=rhq/rhq.git;a=commitdiff;h=e91ab5c).
changing status of VERIFIED BZs for JON 2.4.2 and JON 3.0 to CLOSED/CURRENTRELEASE