[JBoss JIRA] (JBIDE-21847) Start port forwarding button is disabled after starting and stopping it
by Fred Bricon (JIRA)
[ https://issues.jboss.org/browse/JBIDE-21847?page=com.atlassian.jira.plugi... ]
Fred Bricon reassigned JBIDE-21847:
-----------------------------------
Assignee: Viacheslav Kabanovich (was: Snjezana Peco)
Resolution: Done
Applied in master and 4.3.x. Thanks [~scabanovich]!
> Start port forwarding button is disabled after starting and stopping it
> -----------------------------------------------------------------------
>
> Key: JBIDE-21847
> URL: https://issues.jboss.org/browse/JBIDE-21847
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.3.1.CR1
> Reporter: Marián Labuda
> Assignee: Viacheslav Kabanovich
> Labels: openshift_v3, port_forwarding_wizard
> Fix For: 4.3.1.CR1
>
> Attachments: video.ogg-2.ogv
>
>
> In Port Forwarding wizard when I start port forwarding, then stop it, the button Start All is disabled and it is not possible to start port forwarding again. Well, both buttons after starting and stopping are disabled, only OK is enabled.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years
[JBoss JIRA] (JBIDE-21847) Start port forwarding button is disabled after starting and stopping it
by Fred Bricon (JIRA)
[ https://issues.jboss.org/browse/JBIDE-21847?page=com.atlassian.jira.plugi... ]
Fred Bricon updated JBIDE-21847:
--------------------------------
Fix Version/s: 4.4.0.Alpha1
> Start port forwarding button is disabled after starting and stopping it
> -----------------------------------------------------------------------
>
> Key: JBIDE-21847
> URL: https://issues.jboss.org/browse/JBIDE-21847
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.3.1.CR1
> Reporter: Marián Labuda
> Assignee: Viacheslav Kabanovich
> Labels: openshift_v3, port_forwarding_wizard
> Fix For: 4.3.1.CR1, 4.4.0.Alpha1
>
> Attachments: video.ogg-2.ogv
>
>
> In Port Forwarding wizard when I start port forwarding, then stop it, the button Start All is disabled and it is not possible to start port forwarding again. Well, both buttons after starting and stopping are disabled, only OK is enabled.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years
[JBoss JIRA] (JBIDE-21871) Weird message in error log when connecting to cdk openshift - Unauthorized
by Andre Dietisheim (JIRA)
[ https://issues.jboss.org/browse/JBIDE-21871?page=com.atlassian.jira.plugi... ]
Andre Dietisheim commented on JBIDE-21871:
------------------------------------------
Authentication in OpenShift 3 works via token. These token can be retrieved via oauth (like in console.engint.openshift) or via username/password. The same error message is shown whether there's no token or an invalid/ourdated one upon authenticating. That's misleading and can be improved.
When creating the connection via wizard you'd clearly know if the authentication worked or not, since the wizard would not allow you to finish it if the authentication didnt work. I suspect that you didnt see the wizard because you used a pre-existing workspace with stored username/password. This makes it feel like an edge case with pre-existing workspace and username/pw-based authentication.
With a default project being created for the cdk via https://github.com/projectatomic/adb-utils/pull/78#issuecomment-194923080 I see this being good enough as for 4.3.1.CR1. In an oauth based authentication (like in engint) there's browser interaction which clearly tells the user if the authentication worked.
> Weird message in error log when connecting to cdk openshift - Unauthorized
> ---------------------------------------------------------------------------
>
> Key: JBIDE-21871
> URL: https://issues.jboss.org/browse/JBIDE-21871
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.3.1.CR1
> Reporter: Martin Malina
> Fix For: 4.4.0.Alpha1
>
>
> Everytime I start cdk and then want to connect to the openshift instance in OpenShift Explorer view, I get this info message in Error Log:
> Unauthorized. Trying to reauthenticate
> All the time I was thinking that the connection is actually not working, but then I tried to create a project and it worked.
> I can see a few issues here:
> 1. Why is this info message displayed even though the connection is actually established? It's confusing.
> 2. There is no clear indication if a connection is established or not - could we do something about it? If there is an existing project, then you can see it. But currently there is none for the openshift-dev user by default. What makes is worse is the fact that once you start cdk, there is a little arrow next to the openshift connection as if you could expand it. When you do that, it will expand 1 line with "Loading.." and then it will suddenly disappear, so it really looks like something is wrong.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years
[JBoss JIRA] (JBIDE-21871) Weird message in error log when connecting to cdk openshift - Unauthorized
by Martin Malina (JIRA)
[ https://issues.jboss.org/browse/JBIDE-21871?page=com.atlassian.jira.plugi... ]
Martin Malina commented on JBIDE-21871:
---------------------------------------
My main concern here is that it's not clear that the connection is successful, especially when there is no default project created for user openshift-dev.
I requested just thing here:
https://github.com/projectatomic/adb-utils/pull/78
So that could be an easy fix for now and this JIRA could be postponed.
> Weird message in error log when connecting to cdk openshift - Unauthorized
> ---------------------------------------------------------------------------
>
> Key: JBIDE-21871
> URL: https://issues.jboss.org/browse/JBIDE-21871
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.3.1.CR1
> Reporter: Martin Malina
> Fix For: 4.4.0.Alpha1
>
>
> Everytime I start cdk and then want to connect to the openshift instance in OpenShift Explorer view, I get this info message in Error Log:
> Unauthorized. Trying to reauthenticate
> All the time I was thinking that the connection is actually not working, but then I tried to create a project and it worked.
> I can see a few issues here:
> 1. Why is this info message displayed even though the connection is actually established? It's confusing.
> 2. There is no clear indication if a connection is established or not - could we do something about it? If there is an existing project, then you can see it. But currently there is none for the openshift-dev user by default. What makes is worse is the fact that once you start cdk, there is a little arrow next to the openshift connection as if you could expand it. When you do that, it will expand 1 line with "Loading.." and then it will suddenly disappear, so it really looks like something is wrong.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years
[JBoss JIRA] (JBIDE-21871) Weird message in error log when connecting to cdk openshift - Unauthorized
by Andre Dietisheim (JIRA)
[ https://issues.jboss.org/browse/JBIDE-21871?page=com.atlassian.jira.plugi... ]
Andre Dietisheim updated JBIDE-21871:
-------------------------------------
Fix Version/s: 4.4.0.Alpha1
> Weird message in error log when connecting to cdk openshift - Unauthorized
> ---------------------------------------------------------------------------
>
> Key: JBIDE-21871
> URL: https://issues.jboss.org/browse/JBIDE-21871
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.3.1.CR1
> Reporter: Martin Malina
> Fix For: 4.4.0.Alpha1
>
>
> Everytime I start cdk and then want to connect to the openshift instance in OpenShift Explorer view, I get this info message in Error Log:
> Unauthorized. Trying to reauthenticate
> All the time I was thinking that the connection is actually not working, but then I tried to create a project and it worked.
> I can see a few issues here:
> 1. Why is this info message displayed even though the connection is actually established? It's confusing.
> 2. There is no clear indication if a connection is established or not - could we do something about it? If there is an existing project, then you can see it. But currently there is none for the openshift-dev user by default. What makes is worse is the fact that once you start cdk, there is a little arrow next to the openshift connection as if you could expand it. When you do that, it will expand 1 line with "Loading.." and then it will suddenly disappear, so it really looks like something is wrong.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years
[JBoss JIRA] (JBIDE-21872) NPE is thrown on OS 3 connection without any project on fresh start of IDE
by Marián Labuda (JIRA)
[ https://issues.jboss.org/browse/JBIDE-21872?page=com.atlassian.jira.plugi... ]
Marián Labuda updated JBIDE-21872:
----------------------------------
Labels: connection openshift_v3 (was: )
> NPE is thrown on OS 3 connection without any project on fresh start of IDE
> --------------------------------------------------------------------------
>
> Key: JBIDE-21872
> URL: https://issues.jboss.org/browse/JBIDE-21872
> Project: Tools (JBoss Tools)
> Issue Type: Feature Request
> Components: openshift
> Affects Versions: 4.3.1.CR1
> Reporter: Marián Labuda
> Labels: connection, openshift_v3
>
> When I start IDE and I have not stored password/token in secure storage for an OpenShift 3 connection, I am prompted to fill in credentials. After successfully filling in and hiting Finish button, connection is established, but if connection does not contain any project beneath it, there is NPE thrown with following stack trace
> {code}
> There was an error retrieving children in the OpenShift explorer
> java.lang.NullPointerException
> at java.util.ArrayList.<init>(ArrayList.java:177)
> at org.jboss.tools.openshift.internal.ui.models.OpenShiftProjectCache.getProjectsFor(OpenShiftProjectCache.java:73)
> at org.jboss.tools.openshift.internal.ui.explorer.OpenShiftExplorerContentProvider.getChildrenFor(OpenShiftExplorerContentProvider.java:93)
> at org.jboss.tools.openshift.internal.common.ui.explorer.BaseExplorerContentProvider$1.run(BaseExplorerContentProvider.java:167)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years
[JBoss JIRA] (JBIDE-21872) NPE is thrown on OS 3 connection without any project on fresh start of IDE
by Marián Labuda (JIRA)
[ https://issues.jboss.org/browse/JBIDE-21872?page=com.atlassian.jira.plugi... ]
Marián Labuda updated JBIDE-21872:
----------------------------------
Issue Type: Bug (was: Feature Request)
> NPE is thrown on OS 3 connection without any project on fresh start of IDE
> --------------------------------------------------------------------------
>
> Key: JBIDE-21872
> URL: https://issues.jboss.org/browse/JBIDE-21872
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.3.1.CR1
> Reporter: Marián Labuda
> Labels: connection, openshift_v3
>
> When I start IDE and I have not stored password/token in secure storage for an OpenShift 3 connection, I am prompted to fill in credentials. After successfully filling in and hiting Finish button, connection is established, but if connection does not contain any project beneath it, there is NPE thrown with following stack trace
> {code}
> There was an error retrieving children in the OpenShift explorer
> java.lang.NullPointerException
> at java.util.ArrayList.<init>(ArrayList.java:177)
> at org.jboss.tools.openshift.internal.ui.models.OpenShiftProjectCache.getProjectsFor(OpenShiftProjectCache.java:73)
> at org.jboss.tools.openshift.internal.ui.explorer.OpenShiftExplorerContentProvider.getChildrenFor(OpenShiftExplorerContentProvider.java:93)
> at org.jboss.tools.openshift.internal.common.ui.explorer.BaseExplorerContentProvider$1.run(BaseExplorerContentProvider.java:167)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years
[JBoss JIRA] (JBIDE-21872) NPE is thrown on OS 3 connection without any project on fresh start of IDE
by Marián Labuda (JIRA)
Marián Labuda created JBIDE-21872:
-------------------------------------
Summary: NPE is thrown on OS 3 connection without any project on fresh start of IDE
Key: JBIDE-21872
URL: https://issues.jboss.org/browse/JBIDE-21872
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Components: openshift
Affects Versions: 4.3.1.CR1
Reporter: Marián Labuda
When I start IDE and I have not stored password/token in secure storage for an OpenShift 3 connection, I am prompted to fill in credentials. After successfully filling in and hiting Finish button, connection is established, but if connection does not contain any project beneath it, there is NPE thrown with following stack trace
{code}
There was an error retrieving children in the OpenShift explorer
java.lang.NullPointerException
at java.util.ArrayList.<init>(ArrayList.java:177)
at org.jboss.tools.openshift.internal.ui.models.OpenShiftProjectCache.getProjectsFor(OpenShiftProjectCache.java:73)
at org.jboss.tools.openshift.internal.ui.explorer.OpenShiftExplorerContentProvider.getChildrenFor(OpenShiftExplorerContentProvider.java:93)
at org.jboss.tools.openshift.internal.common.ui.explorer.BaseExplorerContentProvider$1.run(BaseExplorerContentProvider.java:167)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
{code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years
[JBoss JIRA] (JBIDE-21871) Weird message in error log when connecting to cdk openshift - Unauthorized
by Martin Malina (JIRA)
[ https://issues.jboss.org/browse/JBIDE-21871?page=com.atlassian.jira.plugi... ]
Martin Malina commented on JBIDE-21871:
---------------------------------------
According to [~mlabuda], this affects any OpenShift v3 connection, so it's not really connected just to cdk.
> Weird message in error log when connecting to cdk openshift - Unauthorized
> ---------------------------------------------------------------------------
>
> Key: JBIDE-21871
> URL: https://issues.jboss.org/browse/JBIDE-21871
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.3.1.CR1
> Reporter: Martin Malina
>
> Everytime I start cdk and then want to connect to the openshift instance in OpenShift Explorer view, I get this info message in Error Log:
> Unauthorized. Trying to reauthenticate
> All the time I was thinking that the connection is actually not working, but then I tried to create a project and it worked.
> I can see a few issues here:
> 1. Why is this info message displayed even though the connection is actually established? It's confusing.
> 2. There is no clear indication if a connection is established or not - could we do something about it? If there is an existing project, then you can see it. But currently there is none for the openshift-dev user by default. What makes is worse is the fact that once you start cdk, there is a little arrow next to the openshift connection as if you could expand it. When you do that, it will expand 1 line with "Loading.." and then it will suddenly disappear, so it really looks like something is wrong.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years