[
https://issues.jboss.org/browse/JBIDE-21847?page=com.atlassian.jira.plugi...
]
Viacheslav Kabanovich edited comment on JBIDE-21847 at 3/11/16 3:01 PM:
------------------------------------------------------------------------
[~fbricon], is it possible that when IPortForwardable.stop() calls destroy process and
returns, local sockets still need some time to get free, and the check for !hasPortInUse()
in updatePortForwardingAllowed happens too early? It would be definitely so if table would
show 'in use', but it does not, which unfortunately proves nothing because update
of cells takes place much later.
Added: AbstractOpenShiftBinaryCapability.stop() calls process.destroyForcibly() and
javadoc to that method says:
{code}
* <p>Note: The subprocess may not terminate immediately.
* i.e. {@code isAlive()} may return true for a brief period
* after {@code destroyForcibly()} is called. This method
* may be chained to {@code waitFor()} if needed.
{code}
That supports my guess.
was (Author: scabanovich):
[~fbricon], is it possible that when IPortForwardable.stop() calls destroy process and
returns, local sockets still need some time to get free, and the check for !hasPortInUse()
in updatePortForwardingAllowed happens too early? It would be definitely so if table would
show 'in use', but it does not, which unfortunately proves nothing because update
of cells takes place much later.
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: Snjezana Peco
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)