]
Marián Labuda closed JBIDE-18659.
---------------------------------
Resolution: Won't Fix
Closing because there is not going to be any time to fix openshift related JIRAs with
fixVersion set to LATER.
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
Priority: Minor
Labels: embed_wizard
Fix For: LATER
Attachments: warning-dataloss.png
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!