Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-18659

Embed wizard: Deselecting embedded cartridges warning should be shown only if deselected catridges are embedded

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Won't Do
    • Icon: Minor Minor
    • LATER
    • 4.2.0.CR2
    • openshift

      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:

      1. EXEC: launch new application wizard
      2. EXEC: in 2nd wizard page with the cartridges: hit "Add"
      3. EXEC: in the upcoming dialog check some cartridges
      4. 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):

            Unassigned Unassigned
            mlabuda_jira Marián Labuda (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: