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

create-item button no longer disabled when duplicate name present

XMLWordPrintable

    • 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. before.png
          before.png
          89 kB
        3. after.png
          after.png
          85 kB

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

              Created:
              Updated:
              Resolved: