[
https://issues.jboss.org/browse/JBIDE-21995?page=com.atlassian.jira.plugi...
]
Andre Dietisheim edited comment on JBIDE-21995 at 3/31/16 5:30 PM:
-------------------------------------------------------------------
as discussed with [~rob.stryker] we should always use a host for the adapter. We
shouldn't not set it if the user has chosen to get prompted. Other WTP facilities
might depend on the host and get broken if we dont use a host. We should always use the
1st available route instead. The change that rob suggested has a side effect in the
prompting since it always saves a routes. We need to always get a host (even if the user
has chosen to get prompted) and only store the route if the user has picked a route (and
doesnt want to get prompted).
This fix is ok for now given the timeframe until freeze but we should redesign the whole
route prompting with proper WTP means in the next iteration.
was (Author: adietish):
as discussed with [~rob.stryker] we should always use a host for the adapter. We
shouldn't not set it if the user has chosen to get prompted. Other WTP facilities
might depend on the host and get broken if we dont use a host. We should always use the
1st available route instead. The change that rob suggested and we were complaining about
erroneously has no effect on the users ability to get prompted. The change is limited to
the area where the adapter is created.
This fix is ok for now given the timeframe until freeze but we should redesign the whole
route prompting with proper WTP means in the next iteration.
Hostname is set to localhost when prompt for route is checked
-------------------------------------------------------------
Key: JBIDE-21995
URL:
https://issues.jboss.org/browse/JBIDE-21995
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: openshift
Affects Versions: 4.3.1.CR1
Reporter: Marián Labuda
Assignee: Rob Stryker
Labels: openshift_v3, server_adapter
Fix For: 4.3.1.CR1
Hostname in Server Editor for an OpenShift 3 application is set to localhost if checkbox
"Prompt for route when multiple routes available to show in browser" is checked.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)