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

Application Wizard: Git reference text widget does not validate values

XMLWordPrintable

    • 2
    • Hide

      ASSERT: Have an OpenShift 3 connection with a project.
      EXEC: Open New OpenShift 3 Application wizard.
      EXEC: Select a builder image and proceed to next, Build configuration, wizard page.
      EXEC: Fill e.g. "invalid value" or any invalid value into Git Reference text widget.

      RESULT: There is no validation error.
      EXPECTED RESULT: There should be a validation error.

      Show
      ASSERT: Have an OpenShift 3 connection with a project. EXEC: Open New OpenShift 3 Application wizard. EXEC: Select a builder image and proceed to next, Build configuration, wizard page. EXEC: Fill e.g. "invalid value" or any invalid value into Git Reference text widget. RESULT: There is no validation error. EXPECTED RESULT: There should be a validation error.

      On the Build Configuration wizard page there is a text widget for git reference. Tooltip say there could be put branch, tag or commit. There is no validation at the moment. Although the field is optional, it would be nice if there is any value, it would be validated. Commits are hexadecimal values what is less restrictive then tags or branches. For tag and branches see reference at https://git-scm.com/docs/git-check-ref-format or use "git check-ref-format --help".

            scabanovich Viacheslav Kabanovich (Inactive)
            mlabuda_jira Marián Labuda (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: