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

Git clone destination folder is not validated

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 3.3.0.Beta1
    • 3.3.0.Beta1
    • openshift
    • None

      1. ASSERT: make sure you have a folder in <home>/git/<project name> (ex. former clone, empty folder, etc.) ex. have a folder <home>/git/as
      2. EXEC: launch the OpenShift Express Application wizard
      3. EXEC: log in and choose a new name <project name> & type (no embedded cartridges needed) ex. "as" as name
      4. EXEC: on the project page: choose Create new

      Result:
      *Finish" is enabled even though the checkout will not be possible: You already have a folder with the same name as the clone.

      The clone would have to remove that one or cancel, warning about it.
      The wizard with the clone settings has no warning/error telling you that the clone destination is not valid.

      Expected result:
      Finish must be disabled as long as the git clone destination is invalid (already a file/folder present). The clone settings page must decorate the Location input.

        1. validation.jpg
          63 kB
          Lucia Jelinkova
        2. missing-error.png
          70 kB
          André Dietisheim
        3. finish-enabled.png
          62 kB
          André Dietisheim

            ljelinko@redhat.com Lucia Jelinkova (Inactive)
            adietish@redhat.com André Dietisheim
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: