[jbosstools-issues] [JBoss JIRA] (JBIDE-22612) Explorer: OpenShift v3 connections are missing from the explorer on startup

Andre Dietisheim (JIRA) issues at jboss.org
Fri Jun 17 05:27:00 EDT 2016


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

Andre Dietisheim commented on JBIDE-22612:
------------------------------------------

IMHO the view should always be the trigger for any loading (and thus plugin activation) to happen. If there's no view, no plugin (neither ui nor core) should get activated nor loaded. Since the org.jboss.tools.openshift.core plugin is set to get activated when one of it's classes is accessed  (Bundle-ActivationPolicy: lazy) I suspect the v3 content provider no to access any of the v3 core classes. 

> Explorer: OpenShift v3 connections are missing from the explorer on startup
> ---------------------------------------------------------------------------
>
>                 Key: JBIDE-22612
>                 URL: https://issues.jboss.org/browse/JBIDE-22612
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>          Components: openshift
>    Affects Versions: 4.4.1.Alpha1
>            Reporter: Fred Bricon
>              Labels: explorer, openshift_v3
>             Fix For: 4.4.1.Alpha1
>
>
> After applying the fix for JBIDE-21828, it appears that, on workspace restart, the OpenShift 3 connections are missing from the OpenShift Explorer.
> This is caused by the OpenShift 3 core plugin not being started when the OpenShiftExplorerContentProvider is called. As a consequence, no connections are loaded.
> Before  JBIDE-21828, [getExplorerElements|https://github.com/jbosstools/jbosstools-openshift/commit/f48623b1d8114bb955c0f3ad36b2a7b5d43bb42a#diff-fe25f5ebed5fcd00f5f86c6e04e1aba0L79] would return all the OpenShift3 connections. With the new code, the UI Model is expected to be already loaded



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


More information about the jbosstools-issues mailing list