[jbosstools-issues] [JBoss JIRA] (JBIDE-18007) Server adapter: Incorrect error message when deleting application via server adapter

Andre Dietisheim (JIRA) issues at jboss.org
Mon Aug 4 05:52:29 EDT 2014


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

Andre Dietisheim commented on JBIDE-18007:
------------------------------------------

[~mlabuda]:
We might not be transparent enough: For the server adapter to be able to know what application it should delete in OpenShift it needs the workspace project that was created when the application git repository was cloned. We store all settings for the server adapter in the workspace project. Thus if there's no project in workspace, the server adapter wont be able to know what application (in OpenShift) it shall delete. 
That's what the above error message tries to point out: removing the application (in OpenShift) is only possible if the project for it exists.
The only thing I see us doing here is to rephrase the error message: Tell the user that we could not find the project that points to the OpenShift applicaiton that he wants to delete. We thus failed to identify the application that shall be deleted.

ps. Please let us try to be precise in our wording: we have *applications* running in OpenShift. If we import those to Eclipse/workspace we get a *project*.

> Server adapter: Incorrect error message when deleting application via server adapter
> ------------------------------------------------------------------------------------
>
>                 Key: JBIDE-18007
>                 URL: https://issues.jboss.org/browse/JBIDE-18007
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: openshift
>    Affects Versions: 4.2.0.Beta3
>            Reporter: Marián Labuda
>            Priority: Minor
>              Labels: server_adapter
>             Fix For: 4.3.x
>
>         Attachments: delete_app_via_adapter.png
>
>
> After attempt to delete non-existing application via server adapter there is a error message telling us about non-existing application but also about project in workspace. This is not quite correct, bcs. delete application through server adapter does not provide removal of the project in the workspace. It only deletes an application on OpenShift.
> However, trying to delete an OpenShift application via adapter with non-existing project in workspace (but existing on OpenShift) this error message is correct.
> !delete_app_via_adapter.png!
> We should either:
> 1) Fix error message and behaviour to delete also a project in workspace. But I think this is not desired solution, bcs. user would want to work with his project later, although it has been deleted from OpenShift.
> 2.) Fix behaviour to delete also the project from workspace and error message will be fully correct.



--
This message was sent by Atlassian JIRA
(v6.2.6#6264)



More information about the jbosstools-issues mailing list