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

create-item button no longer disabled when duplicate name present

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • core
    • Jenkins 2.453 and later (not visible in 2.452 and earlier)
    • 2.454

      ATH core.CreateItemTest.duplicate_item_name_displays_error has detected a regression in Jenkins core as the "OK" button is no longer disabled when the name is a duplicate.

      reproduced manually

      Steps to reproduce

      build and start Jenkins in a clean Jenkins home
      skip all plugin installation
      create a new Freestyle job called "test"
      save the job
      go back to the root and create a new item
      enter "test" as the name, and select Freestyle job

      Expected behaviour

      the form validation shows the name is not good
      the OK button is disabled

      Actual Behaviour

      the form validation shows the name is not good
      the OK button is *not* disabled

        1. image-2024-04-12-17-17-40-901.png
          image-2024-04-12-17-17-40-901.png
          64 kB
        2. after.png
          after.png
          85 kB
        3. before.png
          before.png
          89 kB

          [JENKINS-73007] create-item button no longer disabled when duplicate name present

          James Nord created issue -
          James Nord made changes -
          Description Original: ATH `core.CreateItemTest.duplicate_item_name_displays_error` has detected a regression in Jenkins core as the "Create" button is no longer disabled when the name is a duplicate.

          reproduced manually

           !image-2024-04-12-17-17-40-901.png|thumbnail!
          New: ATH `core.CreateItemTest.duplicate_item_name_displays_error` has detected a regression in Jenkins core as the "OK" button is no longer disabled when the name is a duplicate.

          reproduced manually

           !image-2024-04-12-17-17-40-901.png|thumbnail!
          James Nord made changes -
          Labels New: lts-candidate regression ux
          James Nord made changes -
          Labels Original: lts-candidate regression ux New: lts-candidate regression ux ux-untriaged
          James Nord made changes -
          Description Original: ATH `core.CreateItemTest.duplicate_item_name_displays_error` has detected a regression in Jenkins core as the "OK" button is no longer disabled when the name is a duplicate.

          reproduced manually

           !image-2024-04-12-17-17-40-901.png|thumbnail!
          New: ATH `core.CreateItemTest.duplicate_item_name_displays_error` has detected a regression in Jenkins core as the "OK" button is no longer disabled when the name is a duplicate.

          reproduced manually

           !image-2024-04-12-17-17-40-901.png|thumbnail!

          h3. Steps to reproduce

          build and start Jenkins in a clean Jenkins home
          skip all plugin installation
          create a new Freestyle job called "test"
          save the job
          go back to the root and create a new item
          enter "test" as the name, and select Freestyle job

          h3. Expected behaviour

          the form validation shows the name is not good
          the OK button is disabled

          h3. Actual Behaviour

          the form validation shows the name is not good
          the OK button is **not** disabled

          James Nord made changes -
          Description Original: ATH `core.CreateItemTest.duplicate_item_name_displays_error` has detected a regression in Jenkins core as the "OK" button is no longer disabled when the name is a duplicate.

          reproduced manually

           !image-2024-04-12-17-17-40-901.png|thumbnail!

          h3. Steps to reproduce

          build and start Jenkins in a clean Jenkins home
          skip all plugin installation
          create a new Freestyle job called "test"
          save the job
          go back to the root and create a new item
          enter "test" as the name, and select Freestyle job

          h3. Expected behaviour

          the form validation shows the name is not good
          the OK button is disabled

          h3. Actual Behaviour

          the form validation shows the name is not good
          the OK button is **not** disabled

          New: ATH {{core.CreateItemTest.duplicate_item_name_displays_error}} has detected a regression in Jenkins core as the "OK" button is no longer disabled when the name is a duplicate.

          reproduced manually

           !image-2024-04-12-17-17-40-901.png|thumbnail!

          h3. Steps to reproduce

          build and start Jenkins in a clean Jenkins home
          skip all plugin installation
          create a new Freestyle job called "test"
          save the job
          go back to the root and create a new item
          enter "test" as the name, and select Freestyle job

          h3. Expected behaviour

          the form validation shows the name is not good
          the OK button is disabled

          h3. Actual Behaviour

          the form validation shows the name is not good
          the OK button is **not** disabled

          James Nord added a comment -

          864b2753f85087ca1a2d7144fb426a210181f5f8 (https://github.com/jenkinsci/jenkins/pull/9111) is broken
          b9fac75ac88415a00c128f8e2edb884d82ecdaac is broken

          ....

          c8c1322b14773efa1855dae18e8605dc7a45687b is broken

          ...

          e4079f71c119cc1f693cec3bd021594be0b014f9 is ???

          James Nord added a comment - 864b2753f85087ca1a2d7144fb426a210181f5f8 ( https://github.com/jenkinsci/jenkins/pull/9111 ) is broken b9fac75ac88415a00c128f8e2edb884d82ecdaac is broken .... c8c1322b14773efa1855dae18e8605dc7a45687b is broken ... e4079f71c119cc1f693cec3bd021594be0b014f9 is ???

          janfaracik do you want to take a look?

          Alexander Brandes added a comment - janfaracik do you want to take a look?
          Mark Waite made changes -
          Labels Original: lts-candidate regression ux ux-untriaged New: 2.452.1-rejected lts-candidate regression ux ux-untriaged
          Mark Waite made changes -
          Environment New: Jenkins 2.453 and later (not visible in 2.452 and earlier)

            janfaracik Jan Faracik
            teilo James Nord
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: