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

Snapshot wizard: snapshot file name is not refreshed upon changes between full and deployment type

    XMLWordPrintable

Details

    • Hide

      ASSERT: Have a OpenShift application (both in workspace and deployed on a server).
      EXEC: Open OpenShift explorer and choose in the context menu of the application Snapshot - Save...
      EXEC: Save a snapshot. It does not matter whether into workspace or somewhere in file system.
      EXEC: Open OpenShift explorer and choose in the context menu of the application Snapshot - Save...
      ASSERT: There is a preselected file name for a snapshot.
      EXEC: Switch from Full to Deployment snapshot.

      RESULT: File name of a snapshot is still containing keyword full instead of deployment.
      EXPECTED RESULT: Snapshot name is changed according to currently selected type.

      Show
      ASSERT: Have a OpenShift application (both in workspace and deployed on a server). EXEC: Open OpenShift explorer and choose in the context menu of the application Snapshot - Save... EXEC: Save a snapshot. It does not matter whether into workspace or somewhere in file system. EXEC: Open OpenShift explorer and choose in the context menu of the application Snapshot - Save... ASSERT: There is a preselected file name for a snapshot. EXEC: Switch from Full to Deployment snapshot. RESULT: File name of a snapshot is still containing keyword full instead of deployment. EXPECTED RESULT: Snapshot name is changed according to currently selected type.
    • Hide

      1. In snapshot wizard hit the browse/workspace button and in file browser/project browser wizard choose the project and confirm.
      2. After following changes of a snapshot type the file name is changed as expected.

      Show
      1. In snapshot wizard hit the browse/workspace button and in file browser/project browser wizard choose the project and confirm. 2. After following changes of a snapshot type the file name is changed as expected.

    Description

      When trying to create a new snapshot of FULL or DEPLOYMENT type after creating a snapshot earlier, there is no change of file name for the snapshot. It's still the same file name as it was for the snapshot created right before.

      I think there was intention to let user overwrite previously created snapshot. But this brings complications because of snapshot type. We should not override FULL snapshot with DEPLOYMENT snapshot. I think also, that there should not be overriding at all, but it should be distinguished as it is (after workaround) by number of snapshot.

      Attachments

        Issue Links

          Activity

            People

              jcantril@redhat.com Jeffrey Cantrill
              mlabuda_jira Marián Labuda (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: