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

On a configure screen that has multiple groups of radio buttons, clicking the apply button clears all but the last radio group selection

    XMLWordPrintable

Details

    Description

      buildFormTree changes the DOM while parsing the radio button sections, mutating the name field of each element. Since the DOM model is that there can only be at most one selected element for each distinct name, the last radio button selected for each base name will be the only one selected.

      The fix is not to mutate the DOM while building the JSON form data.

      Attachments

        Issue Links

          Activity

            stephenconnolly Stephen Connolly created issue -
            scm_issue_link SCM/JIRA link daemon made changes -
            Field Original Value New Value
            Resolution Fixed [ 1 ]
            Status Open [ 1 ] Resolved [ 5 ]
            stephenconnolly Stephen Connolly made changes -
            Labels lts-candidate
            olivergondza Oliver Gond┼ża made changes -
            Labels lts-candidate 1.554.2-fixed
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 154673 ] JNJira + In-Review [ 194985 ]
            vlatombe Vincent Latombe made changes -
            Link This issue relates to JENKINS-38928 [ JENKINS-38928 ]

            People

              Unassigned Unassigned
              stephenconnolly Stephen Connolly
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: