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

New Item page shows "field cannot be empty" error when attempting to create a duplicate item

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • core
    • None

      What incorrect behavior happened?

      When creating a new item, if a duplicate exists, the "duplicate name" text is immediately overriden by "invalid name" error text. This is especially problematic if a user is creating a new item further in the list. In that scenario, the user effectively receives the wrong warning message.

      I've attached some screenshots of the state of the Jenkins under test.

      What was the expected outcome?

      The expected behavior is that the "duplicate name" error text should persist so that the user understands why their input is incorrect.

      Step by step to reproduce it

      1. Create freestyle Job with name "asdf"
      2. Create second freestyle job with "asdf"
      3. Note that the error text for "duplicate name" is appears when mouseclickdown but overridden when the mouseclickup

            kzantow Keith Zantow
            recampbell Ryan Campbell
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: