[jbosstools-issues] [JBoss JIRA] (JBIDE-18659) Embed wizard: Deselecting embedded cartridges warning should be shown only if deselected catridges are embedded

Andre Dietisheim (JIRA) issues at jboss.org
Fri Oct 17 09:25:35 EDT 2014


     [ https://issues.jboss.org/browse/JBIDE-18659?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andre Dietisheim updated JBIDE-18659:
-------------------------------------
        Summary: Embed wizard: Deselecting embedded cartridges warning should be shown only if deselected catridges are embedded  (was: Deselecting embedded cartridges warning should be shown only if deselected catridges are embedded)
    Description: 
In Edit Embedded Cartridges shell is a button to deselect all selected embeddable cartridges in the application. This button invoke a warning to let user know about possible data loss. The warning is shown regardless I selected embeddable catridge(s) in the currently opened shell (and they are not yet embedded into application) or they are already embedded.

This warning should be shown only in case if one of the selected embeddable cartridges is already embedded into application and there is really a possible data loss.

Steps:
# EXEC: launch new application wizard
# EXEC: in 2nd wizard page with the cartridges: hit "Add"
# EXEC: in the upcoming dialog check some cartridges
# EXEC: now hit "Deselect All"

Result:
You get warned of dataloss even though the cartridges have not been added yet (we're up to create a new app, there's noting deployed yet):
!warning-dataloss.png! 

  was:
In Edit Embedded Cartridges shell is a button to deselect all selected embeddable cartridges in the application. This button invoke a warning to let user know about possible data loss. The warning is shown regardless I selected embeddable catridge(s) in the currently opened shell (and they are not yet embedded into application) or they are already embedded.

This warning should be shown only in case if one of the selected embeddable cartridges is already embedded into application and there is really a possible data loss.



> Embed wizard: Deselecting embedded cartridges warning should be shown only if deselected catridges are embedded
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-18659
>                 URL: https://issues.jboss.org/browse/JBIDE-18659
>             Project: Tools (JBoss Tools)
>          Issue Type: Enhancement
>          Components: openshift
>    Affects Versions: 4.2.0.CR2
>            Reporter: Marián Labuda
>              Labels: embed_wizard
>             Fix For: 4.3.x
>
>
> In Edit Embedded Cartridges shell is a button to deselect all selected embeddable cartridges in the application. This button invoke a warning to let user know about possible data loss. The warning is shown regardless I selected embeddable catridge(s) in the currently opened shell (and they are not yet embedded into application) or they are already embedded.
> This warning should be shown only in case if one of the selected embeddable cartridges is already embedded into application and there is really a possible data loss.
> Steps:
> # EXEC: launch new application wizard
> # EXEC: in 2nd wizard page with the cartridges: hit "Add"
> # EXEC: in the upcoming dialog check some cartridges
> # EXEC: now hit "Deselect All"
> Result:
> You get warned of dataloss even though the cartridges have not been added yet (we're up to create a new app, there's noting deployed yet):
> !warning-dataloss.png! 



--
This message was sent by Atlassian JIRA
(v6.3.1#6329)



More information about the jbosstools-issues mailing list