Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 323627 - Strange behaviour of Connect link on JpaFacetInstallPage
Summary: Strange behaviour of Connect link on JpaFacetInstallPage
Status: VERIFIED FIXED
Alias: None
Product: Dali JPA Tools
Classification: WebTools
Component: General (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 3.0 M2   Edit
Assignee: Neil Hauge CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-25 11:42 EDT by Jiri Peterka CLA
Modified: 2010-10-26 13:23 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Peterka CLA 2010-08-25 11:42:01 EDT
Build Identifier: v201008232021N

After connect, nothing happens.
After while, connect become disabled
After closing wizard and opening again, connect is unavailable
No message there, no information what is happening. Very strange usage.

Reproducible: Always

Steps to Reproduce:
1.New JPA Project
2.On JPA Facet wizard page select some HSQL connection
3.Click on Connect
Comment 1 Neil Hauge CLA 2010-08-25 11:55:05 EDT
What should be happening is:

Click "Connect" link
-> certain UI controls may become enabled (such as default catalog/schema selection)
-> "Connect" becomes disabled (because you are already connected)
-> "Connect" will remain disabled while you are connected

Adding a progress dialog of some sort would be a nice addition, but a conformation dialog is probably overkill.  When disabled, perhaps the label should be changed to "Connected".
Comment 2 Neil Hauge CLA 2010-09-03 16:19:36 EDT
Changed the behavior so that anytime you select a connection profile that is already connected (or you connect to a disconnected profile), the "Connect" link changes text to "Connected" and is disabled.

The next step would be to make this UI consistent with other Dali UI that uses buttons for these actions instead of links.  I have created bug 324136 to address this.
Comment 3 Jolene Moffitt CLA 2010-10-26 13:23:02 EDT
Verified using build I-3.3.0-20101021033934 on both Linux and Windows.  Verified when you click on Connect for the DB connection it works per comments.