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

Repeated ids, expandTextArea() and multiple "Invoke Ant" build steps

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • core
    • None
    • Jenkins 1.430
      Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
      Linux

      I have a project that invokes more than one Ant build step during the execution of a job.
      I happened to need to insert multiple properties in the second build step and in order to do that I had to change to the textarea mode, that's when I noticed that the javascript wasn't working properly due to the fact that some form elements are being created with repeated ids.

      Next thing I tried was to reproduced in a clean Jenkins environment, so I just downloaded the WAR and unzipped a clean version of Tomcat and was able to reproduce the bug by doing this:

      • New job -> Configure
      • Add build step #1
      • Add build step #2
      • Click in the expand button of build step #2 "Targets" field
      • Notice that the "Targets" field of #1 will be changed to a textarea instead of #2

          [JENKINS-10989] Repeated ids, expandTextArea() and multiple "Invoke Ant" build steps

          flaviocdc created issue -
          flaviocdc made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          flaviocdc made changes -
          Status Original: In Progress [ 3 ] New: Open [ 1 ]
          sogabe made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          OHTAKE Tomohiro made changes -
          Link New: This issue is duplicated by JENKINS-10988 [ JENKINS-10988 ]
          OHTAKE Tomohiro made changes -
          Link New: This issue is duplicated by JENKINS-10987 [ JENKINS-10987 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 141198 ] New: JNJira + In-Review [ 189484 ]

            Unassigned Unassigned
            flaviocdc flaviocdc
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: