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

Application wizard: dirty project should not be selectable as existing project (validate before starting to merge openshift app into existing proj and fail)

    XMLWordPrintable

Details

    Description

      EXEC: Import a git based project into the workspace in JBT (ex. git@github.com:adietish/kitchensink.git)
      EXEC: Launch New application wizard from OpenShift explorer (or launch via project context menu Configure->New/Import OpenShift Application).
      EXEC: Choose basic cartridge and click Next button (ex. EAP 6).
      EXEC: Fill in name on the next wizard page and click Next.
      EXEC: Choose Use existing project and select the existing git based project.
      EXEC: Finish the wizard.

      RESULT: There is the error that there are uncommitted changes and it is required to commit them first. Application on OpenShift is default (from basic cartridge).

      This is expected as you cannot merge into a project with uncommitted changes. But the missing requirement (clean project without uncommitted changes) can be spotted far earlier when the existing project is selected.

      Attachments

        1. import-failed-uncommitted-changes.png
          22 kB
          André Dietisheim
        2. uncommitted-changes.png
          34 kB
          André Dietisheim

        Issue Links

          Activity

            People

              adietish@redhat.com André Dietisheim
              adietish@redhat.com André Dietisheim
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: