Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-68538

New item dialog selects item name when editing Copy from

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • core

      In Jenkins 2.347 (I did not check which release introduced this bug) the New Item dialog validation forces the selection of the Item Name (if empty) when I am trying to enter a value in the Copy From field.

      Steps to reproduce:

      1. Select New Item
      2. Click and select the text field Copy From (without entering a value in Item Name)
      3. Type a character
      4. Jenkins Validation writes error message "This field cannot be empty, please enter a valid name" in Item Name field.
      5. Jenkins moves focus from Copy From to Item Name

      Expected behavior

      • Jenkins should never change the focus while I am typing in a field just to present a validation message in another field. A validation message should only be visible if the user leaves a field (or presses ok)

          [JENKINS-68538] New item dialog selects item name when editing Copy from

          Ulli Hafner created issue -
          Ulli Hafner made changes -
          Description Original: In Jenkins 2.347 (I did not check since which release this is broken) the *New Item* dialog validation forces the selection of the *Item Name* (if empty) when I am trying to enter a value in the *Copy From* field.

          Steps to reproduce:
          # Select *New Item*
          # Click and select the text field *Copy From* (without entering a value in *Item Name*)
          # Type a character
          # Jenkins Validation writes error message "This field cannot be empty, please enter a valid name" in *Item Name* field.
          # Jenkins moves focus from *Copy From* to *Item Name*

          Expected behavior
          - Jenkins should never change the focus while I am typing in a field just to present a validation message. A validation message should only be visible if the user leaves the field (or presses ok)
          New: In Jenkins 2.347 (I did not check which release introduced this bug) the *New Item* dialog validation forces the selection of the *Item Name* (if empty) when I am trying to enter a value in the *Copy From* field.

          Steps to reproduce:
          # Select *New Item*
          # Click and select the text field *Copy From* (without entering a value in *Item Name*)
          # Type a character
          # Jenkins Validation writes error message "This field cannot be empty, please enter a valid name" in *Item Name* field.
          # Jenkins moves focus from *Copy From* to *Item Name*

          Expected behavior
          - Jenkins should never change the focus while I am typing in a field just to present a validation message. A validation message should only be visible if the user leaves the field (or presses ok)
          Ulli Hafner made changes -
          Description Original: In Jenkins 2.347 (I did not check which release introduced this bug) the *New Item* dialog validation forces the selection of the *Item Name* (if empty) when I am trying to enter a value in the *Copy From* field.

          Steps to reproduce:
          # Select *New Item*
          # Click and select the text field *Copy From* (without entering a value in *Item Name*)
          # Type a character
          # Jenkins Validation writes error message "This field cannot be empty, please enter a valid name" in *Item Name* field.
          # Jenkins moves focus from *Copy From* to *Item Name*

          Expected behavior
          - Jenkins should never change the focus while I am typing in a field just to present a validation message. A validation message should only be visible if the user leaves the field (or presses ok)
          New: In Jenkins 2.347 (I did not check which release introduced this bug) the *New Item* dialog validation forces the selection of the *Item Name* (if empty) when I am trying to enter a value in the *Copy From* field.

          Steps to reproduce:
          # Select *New Item*
          # Click and select the text field *Copy From* (without entering a value in *Item Name*)
          # Type a character
          # Jenkins Validation writes error message "This field cannot be empty, please enter a valid name" in *Item Name* field.
          # Jenkins moves focus from *Copy From* to *Item Name*

          Expected behavior
          - Jenkins should never change the focus while I am typing in a field just to present a validation message in another field. A validation message should only be visible if the user leaves the field (or presses ok)
          Ulli Hafner made changes -
          Description Original: In Jenkins 2.347 (I did not check which release introduced this bug) the *New Item* dialog validation forces the selection of the *Item Name* (if empty) when I am trying to enter a value in the *Copy From* field.

          Steps to reproduce:
          # Select *New Item*
          # Click and select the text field *Copy From* (without entering a value in *Item Name*)
          # Type a character
          # Jenkins Validation writes error message "This field cannot be empty, please enter a valid name" in *Item Name* field.
          # Jenkins moves focus from *Copy From* to *Item Name*

          Expected behavior
          - Jenkins should never change the focus while I am typing in a field just to present a validation message in another field. A validation message should only be visible if the user leaves the field (or presses ok)
          New: In Jenkins 2.347 (I did not check which release introduced this bug) the *New Item* dialog validation forces the selection of the *Item Name* (if empty) when I am trying to enter a value in the *Copy From* field.

          Steps to reproduce:
          # Select *New Item*
          # Click and select the text field *Copy From* (without entering a value in *Item Name*)
          # Type a character
          # Jenkins Validation writes error message "This field cannot be empty, please enter a valid name" in *Item Name* field.
          # Jenkins moves focus from *Copy From* to *Item Name*

          Expected behavior
          - Jenkins should never change the focus while I am typing in a field just to present a validation message in another field. A validation message should only be visible if the user leaves a field (or presses ok)
          Basil Crow made changes -
          Labels Original: regression New: regression ux ux-untriaged
          Mark Waite made changes -
          Link New: This issue duplicates JENKINS-66530 [ JENKINS-66530 ]
          Mark Waite made changes -
          Labels Original: regression ux ux-untriaged New: ux
          Ulli Hafner made changes -
          Resolution New: Duplicate [ 3 ]
          Status Original: Open [ 1 ] New: Closed [ 6 ]

            Unassigned Unassigned
            drulli Ulli Hafner
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: