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

    • 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

          [JENKINS-37523] New Item page shows "field cannot be empty" error when attempting to create a duplicate item

          Ryan Campbell created issue -
          Ryan Campbell made changes -
          Environment Original: * O.S.: _OSX_
          * CJE version: _2.7.2.0-alpha-3_
          * CJOC version: _N/A_
          * Web browser: _Chrome_
          * JDK version: _JDK8_
          Ryan Campbell made changes -
          Attachment New: Screen Shot 2016-08-17 at 9.48.44 AM.png [ 33650 ]
          Ryan Campbell made changes -
          Assignee New: Keith Zantow [ kzantow ]
          Keith Zantow made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Keith Zantow made changes -
          Remote Link New: This issue links to "PR 2513 (Web Link)" [ 14741 ]
          Keith Zantow made changes -
          Status Original: In Progress [ 3 ] New: In Review [ 10005 ]
          Keith Zantow made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: In Review [ 10005 ] New: Resolved [ 5 ]
          CloudBees Inc. made changes -
          Remote Link New: This issue links to "CloudBees Internal OSS-1336 (Web Link)" [ 18737 ]

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

              Created:
              Updated:
              Resolved: