[JBoss JIRA] (JBIDE-21449) WatchManager makes multiple callbacks for same event
by Jeff Cantrill (JIRA)
[ https://issues.jboss.org/browse/JBIDE-21449?page=com.atlassian.jira.plugi... ]
Jeff Cantrill closed JBIDE-21449.
---------------------------------
Closing issue as verified by myself and [~fbricon] attaching to the class and setting breakpoints.
> WatchManager makes multiple callbacks for same event
> ----------------------------------------------------
>
> Key: JBIDE-21449
> URL: https://issues.jboss.org/browse/JBIDE-21449
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.3.1.Beta1
> Reporter: Jeff Cantrill
> Assignee: Jeff Cantrill
> Priority: Blocker
> Fix For: 4.3.1.CR1
>
>
> There is an issue in either the WatchClient or the the dependent functionality of the the openshift-rest-client where a new listener is registered when the watch restarts from a timeout. Listeners should only be able registered once
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years
[JBoss JIRA] (JBIDE-21449) WatchManager makes multiple callbacks for same event
by Marián Labuda (JIRA)
[ https://issues.jboss.org/browse/JBIDE-21449?page=com.atlassian.jira.plugi... ]
Marián Labuda commented on JBIDE-21449:
---------------------------------------
I could verify it only from DEBUG on stdout, now when we have plenty of events logged/displayed there and I have noticed some watcher related there. But it would be better if you could close this one. Thanks.
> WatchManager makes multiple callbacks for same event
> ----------------------------------------------------
>
> Key: JBIDE-21449
> URL: https://issues.jboss.org/browse/JBIDE-21449
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.3.1.Beta1
> Reporter: Jeff Cantrill
> Assignee: Jeff Cantrill
> Priority: Blocker
> Fix For: 4.3.1.CR1
>
>
> There is an issue in either the WatchClient or the the dependent functionality of the the openshift-rest-client where a new listener is registered when the watch restarts from a timeout. Listeners should only be able registered once
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years
[JBoss JIRA] (JBIDE-21449) WatchManager makes multiple callbacks for same event
by Jeff Cantrill (JIRA)
[ https://issues.jboss.org/browse/JBIDE-21449?page=com.atlassian.jira.plugi... ]
Jeff Cantrill commented on JBIDE-21449:
---------------------------------------
[~mlabuda] From your perspective, I'm not sure this is a valid test since the UI should be unchanged. I noticed it by:
Connect to a server and expand a project (starts watch)
Add a service to the project if one does not exist
Set a break point in the OpenShiftExplorerContentProvider#propertyChange method
Edit the service and add a label. Note single callback
Wait for the WatchManager to be disconnected and for it to reconnect itself
Edit the service again by removing the label.
Assert: Callback occurs only once (previously received callbacks equal to every WatchManager restart)
> WatchManager makes multiple callbacks for same event
> ----------------------------------------------------
>
> Key: JBIDE-21449
> URL: https://issues.jboss.org/browse/JBIDE-21449
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.3.1.Beta1
> Reporter: Jeff Cantrill
> Assignee: Jeff Cantrill
> Priority: Blocker
> Fix For: 4.3.1.CR1
>
>
> There is an issue in either the WatchClient or the the dependent functionality of the the openshift-rest-client where a new listener is registered when the watch restarts from a timeout. Listeners should only be able registered once
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years
[JBoss JIRA] (JBIDE-21909) Show In - Web Browser context menu of an OS 3 server adapter is disabled when adapter is stopped
by Marián Labuda (JIRA)
Marián Labuda created JBIDE-21909:
-------------------------------------
Summary: Show In - Web Browser context menu of an OS 3 server adapter is disabled when adapter is stopped
Key: JBIDE-21909
URL: https://issues.jboss.org/browse/JBIDE-21909
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: openshift
Affects Versions: 4.3.1.CR1
Reporter: Marián Labuda
When I am having an OpenShift 3 Server Adapter in Server view e.g. freshly created, it is stopped by default. Its context menu Show In - Web Browser is disabled at this point, although it not makes much sense, because it is possible to show an application in browser at this point via OpenShift explorer view. Adapter does not have to be started to perform this. Max suggested that after selecting context menu Show In - Web Browser, an OS 3 server adapter could/should start.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years
[JBoss JIRA] (JBIDE-21909) Show In - Web Browser context menu of an OS 3 server adapter is disabled when adapter is stopped
by Marián Labuda (JIRA)
[ https://issues.jboss.org/browse/JBIDE-21909?page=com.atlassian.jira.plugi... ]
Marián Labuda updated JBIDE-21909:
----------------------------------
Labels: openshift_v3 server_adapter (was: )
> Show In - Web Browser context menu of an OS 3 server adapter is disabled when adapter is stopped
> ------------------------------------------------------------------------------------------------
>
> Key: JBIDE-21909
> URL: https://issues.jboss.org/browse/JBIDE-21909
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.3.1.CR1
> Reporter: Marián Labuda
> Labels: openshift_v3, server_adapter
>
> When I am having an OpenShift 3 Server Adapter in Server view e.g. freshly created, it is stopped by default. Its context menu Show In - Web Browser is disabled at this point, although it not makes much sense, because it is possible to show an application in browser at this point via OpenShift explorer view. Adapter does not have to be started to perform this. Max suggested that after selecting context menu Show In - Web Browser, an OS 3 server adapter could/should start.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years
[JBoss JIRA] (JBIDE-21908) Context menu to stop OS 3 Server Adapter is disabled after start, stop, start
by Marián Labuda (JIRA)
Marián Labuda created JBIDE-21908:
-------------------------------------
Summary: Context menu to stop OS 3 Server Adapter is disabled after start, stop, start
Key: JBIDE-21908
URL: https://issues.jboss.org/browse/JBIDE-21908
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: openshift
Affects Versions: 4.3.1.CR1
Reporter: Marián Labuda
Context menu to Stop an OpenShift 3 server adapter in Server view is disabled when I am trying to stop it for second time. At first adapter is stopped, after first start of it, Stop context menu gets enabled. But when I stop and start it in this point, Stop context menu is disabled permanently.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years
[JBoss JIRA] (JBIDE-21836) Preferences: openshift 3 oc location resets to a different/old value on restart
by Marián Labuda (JIRA)
[ https://issues.jboss.org/browse/JBIDE-21836?page=com.atlassian.jira.plugi... ]
Marián Labuda commented on JBIDE-21836:
---------------------------------------
[~maxandersen] how does your PATH look like? Don't you have there set the old oc binary? I was not able to reproduce it, but having that on PATH would explain this.
> Preferences: openshift 3 oc location resets to a different/old value on restart
> -------------------------------------------------------------------------------
>
> Key: JBIDE-21836
> URL: https://issues.jboss.org/browse/JBIDE-21836
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Reporter: Max Rydahl Andersen
> Assignee: Max Rydahl Andersen
> Priority: Blocker
> Labels: oc_binary, openshift_v3, preferences
> Fix For: 4.3.1.CR1
>
>
> on start of eclipse new workspace the value is for reason unknown to me set to:
> {code}
> /Users/max/Downloads/openshift-origin-v1.0.3-1695461-darwin-amd64/oc
> {code}
> which does exist, but is old version and publish fails.
> Then I set it to
> {code}
> /usr/local/bin/oc
> {code}
> now publish works.
> Restart eclipse - old value returns and publish starts failing again.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years
[JBoss JIRA] (JBIDE-21907) Server adapter: service details text is selectable (each line on its own)
by Jan Richter (JIRA)
Jan Richter created JBIDE-21907:
-----------------------------------
Summary: Server adapter: service details text is selectable (each line on its own)
Key: JBIDE-21907
URL: https://issues.jboss.org/browse/JBIDE-21907
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: openshift
Affects Versions: 4.3.1.CR1
Reporter: Jan Richter
Priority: Minor
One can select the values in the Service detail part of the wizard. The fun part is they are all independent and can be selected on their own.
So once some line is selected, the only way to deselect it is to click inside it again - which places the annoying caret into the text.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years