[jbosstools-issues] [JBoss JIRA] (JBIDE-21027) Central offers to install Early Access content when importing project examples (EA disabled)

Mickael Istria (JIRA) issues at jboss.org
Wed Oct 28 15:44:00 EDT 2015


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

Mickael Istria commented on JBIDE-21027:
----------------------------------------

The issue comes from the fact that the installation procedure isn't factorized between Central page and Example wizards. Example wizards use a procedure that is not aware of Early Access at all, leading to the issue reported here.
The places in example that require a change are:
* https://github.com/jbosstools/jbosstools-central/blob/master/central/plugins/org.jboss.tools.central/src/org/jboss/tools/central/editors/GettingStartedHtmlPage.java#L461
* https://github.com/jbosstools/jbosstools-central/blob/master/examples/plugins/org.jboss.tools.project.examples/src/org/jboss/tools/project/examples/internal/fixes/PluginFixUIHandler.java#L51

However, there is currently no easy substitution to that call. The InstallAction, in the SoftwarePage would be a good candidate but requires some changes to be consumed by the wizards. Or maybe most of this action should be moved to JBossDiscoveryUi (which is currently not aware of early access neither...) 

> Central offers to install Early Access content when importing project examples (EA disabled)
> --------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-21027
>                 URL: https://issues.jboss.org/browse/JBIDE-21027
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: central, project-examples
>    Affects Versions: 4.3.0.Final
>            Reporter: Alexey Kazakov
>            Assignee: Mickael Istria
>             Fix For: 4.3.1.Beta1, 4.4.0.Alpha1
>
>         Attachments: angular.png
>
>
> 1. Open Central with EA disabled
> 2. Try to import kitchensink-angularjs project example
> 3. AngularJS (EA version) is offered to install:
> !angular.png!
> 4. Press "Download & Install".
> 5. AngularJS is installed without any warning that it's an EA content.



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


More information about the jbosstools-issues mailing list