[jbosstools-issues] [JBoss JIRA] (JBIDE-22738) Image registry URL becomes null when going between Connection and Deploy pages on Deploy image to OS wizard

Viacheslav Kabanovich (JIRA) issues at jboss.org
Thu Jul 14 10:52:00 EDT 2016


    [ https://issues.jboss.org/browse/JBIDE-22738?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13265764#comment-13265764 ] 

Viacheslav Kabanovich edited comment on JBIDE-22738 at 7/14/16 10:51 AM:
-------------------------------------------------------------------------

It is possible in ConnectionWizardPageModel.saveConnection() after calling update() retrieve the shared connection
{code}
	connection = ConnectionsRegistrySingleton.getInstance().getByUrl(ConnectionURL.forConnection(connection));
{code}
or, to make it more simple, method ConnectionsRegistry.update(currentConnection, updatedConnection) may return the resolved connection.
However, all wizards listening for connection change now notice only instance change when they are notified after connect() with wizard.setConnection(connection); That should be addressed in some way or maybe ignored depending on wizard.



was (Author: scabanovich):
It is possible in ConnectionWizardPageModel.saveConnection() after calling update() retrieve the shared connection
{code}
	connection = ConnectionsRegistrySingleton.getInstance().getByUrl(ConnectionURL.forConnection(connection));
{code}
However, all wizards listening for connection change now notice only instance change when they are notified after connect() with wizard.setConnection(connection); That should be addressed in some way or maybe ignored depending on wizard.

> Image registry URL becomes null when going between Connection and Deploy pages on Deploy image to OS wizard
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-22738
>                 URL: https://issues.jboss.org/browse/JBIDE-22738
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: docker, openshift
>    Affects Versions: 4.4.1.AM1
>            Reporter: Dmitry Bocharov
>         Attachments: WAY1.webm, WAY2.webm
>
>




--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jbosstools-issues mailing list