[jbosstools-issues] [JBoss JIRA] (JBIDE-13250) Wrong connection pre-selected when creating server adapter for application

Andre Dietisheim (JIRA) jira-events at lists.jboss.org
Wed Dec 5 11:19:21 EST 2012


     [ https://issues.jboss.org/browse/JBIDE-13250?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andre Dietisheim updated JBIDE-13250:
-------------------------------------

    Steps to Reproduce: 
* ASSERT: have a clean workspace
* EXEC: open OpenShift Explorer
* EXEC: create connection (I used 'pipistik.bunciak at gmail.com' on default server) do not store pwd, have some apps there
* EXEC: create connection (I used 'pipistik.bunciak at gmail.com' on STG, in RHN no need for proxy, but i guess it does not matter here on server) do not store pwd, have some apps there

** like:
** !wcon1.png!

* EXEC: restart jbds
* EXEC: expand the 2nd (STG) connection (provide pwd) 
* EXEC: select some app on STG -
* EXEC: right click and select 'Create a Server Adapter...'
* RESULT: preselected is a wrong connection (each case needs jbds restart probably for erasing pwd from memory, but each case is bugy):

** like:
** !wcon2.png!

* EXEC: hitting 'cancel' will diplay the dialog again, and again cancel will even move forward to next screen on which I cannot move forward even after selecting (and obviously also verifying) the connection
** providing a pwd to this wrong connection will create a dialog with this wrong preselected connection but app from the correct connection
** selecting the correct and providing pwd to it (dialog appeared 2 times), no connection is preselected in the next screen and in openshift explorer - User not connected (???)

** like:
** !wcon3.png!

* EXEC: get back to OpenShift Explorer and try to create a server adapter again. This time, hit *New* 
* EXEC: in the upcoming connection dialog, select the correct connection and provide the password and hit *Finish*

Result:
Back in the server adapter wizard, you'll notice that the connection you selected is not selected in the combo. Furthermore in the *OpenShift Explorer*, the connection you just selected, went *<User is not connected>*

!user-gets-disconnected.png!

  was:
* ASSERT: have a clean workspace
* EXEC: open OpenShift Explorer
* EXEC: create connection (I used 'pipistik.bunciak at gmail.com' on default server) do not store pwd, have some apps there
* EXEC: create connection (I used 'pipistik.bunciak at gmail.com' on STG, in RHN no need for proxy, but i guess it does not matter here on server) do not store pwd, have some apps there

** like:
** !wcon1.png|thumbnail!

* EXEC: restart jbds
* EXEC: expand the 2nd (STG) connection (provide pwd) 
* EXEC: select some app on STG -
* EXEC: right click and select 'Create a Server Adapter...'
* RESULT: preselected is a wrong connection (each case needs jbds restart probably for erasing pwd from memory, but each case is bugy):

** like:
** !wcon2.png|thumbnail!

* EXEC: hitting 'cancel' will diplay the dialog again, and again cancel will even move forward to next screen on which I cannot move forward even after selecting (and obviously also verifying) the connection
** providing a pwd to this wrong connection will create a dialog with this wrong preselected connection but app from the correct connection
** selecting the correct and providing pwd to it (dialog appeared 2 times), no connection is preselected in the next screen and in openshift explorer - User not connected (???)

** like:
** !wcon3.png|thumbnail!

* EXEC: get back to OpenShift Explorer and try to create a server adapter again. This time, hit *New* 
* EXEC: in the upcoming connection dialog, select the correct connection and provide the password and hit *Finish*

Result:
Back in the server adapter wizard, you'll notice that the connection you selected is not selected in the combo. Furthermore in the *OpenShift Explorer*, the connection you just selected, went *<User is not connected>*

!user-gets-disconnected.png!


    
> Wrong connection pre-selected when creating server adapter for application
> --------------------------------------------------------------------------
>
>                 Key: JBIDE-13250
>                 URL: https://issues.jboss.org/browse/JBIDE-13250
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: JBossAS/Servers, openshift
>    Affects Versions: 4.0.0.CR1
>            Reporter: Stefan Bunciak
>            Assignee: Andre Dietisheim
>            Priority: Critical
>         Attachments: user-gets-disconnected.png, wcon1.png, wcon2.png, wcon3.png
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list