Created attachment 520337 [details]
incorrect dashboard name
Description of problem:
While deleting immediately a newly created dashboard, it's showing default name on deletion confirmation alert. Should display user input name.
Steps to Reproduce:
1.Navigate to 'Dashboard'
2.Click on 'New Dashboard'
3.Over-right dashboard default name (Ex. default one: 'Custom0', User Input: 'JeevaDashboard')
4. Click on 'View mode', Getting successfully saved message ('Saved dashboard JeevaDashboard to server')
5.Click on X (deletion mark) right corner of the dashboard name.
6. Getting deletion confirmation alert message with incorrect name.
Displaying default name on confirmation alert
Should display user input name
Screen shot is attached
Build Number: a98c893
GWT Version: 2.0.4
SmartGWT Version: 2.4
Browser: Firefox 3.6.18
OS: RHEL 6.1 X86_64
There was a strange fact around timing that new dashboards that were closed were not displaying the correct confirmation message with the proper tab name.
I changed the confirmation message to pull the data from the model on the DashboardView object instead of from the title object and fixed this issue.
Verified on build#1314 (Version: 4.4.0-SNAPSHOT Build Number: 4fb7669)
On closing the dashboard tab, the confirmation message displays correct tab name.
Bulk close of old bugs in VERIFIED state.