<f:select> broken if inside table

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      bug introduced in JENKINS-42443

      https://github.com/jenkinsci/jenkins/commit/ed329d1088c164df560b9299cd9096ae76519418#diff-11b7f44b11e4a3dbf03e0baff633eb44R8

      findFollowingTR(listBox, "validation-error-area") looks for first parent TR tag, whichĀ could beĀ not the one that should be used (the one from <f:entry>) that causes jsĀ error

      Uncaught TypeError: Cannot read property 'firstChild' of undefined
      at updateListBox (select.js:8)
      at select.js:79
      at h (hudson-behavior.js:1295)
      at refillOnChange (hudson-behavior.js:1310)
      at select.js:77
      at Array.forEach (<anonymous>)
      at behavior.js:111
      at Array.forEach (<anonymous>)
      at behavior.js:107
      at Array.forEach (<anonymous>)

      which causes dropdown not to be populatedĀ 

      example jelly which doesn'tĀ in jenkins 2.50+

      https://github.com/jenkinsci/jclouds-plugin/blob/936aed28def5f2434dbdaaa72d260aadd3f623da/jclouds-plugin/src/main/resources/jenkins/plugins/jclouds/compute/UserData/config.jelly

      Ā 

      Ā 

      Ā 

            Assignee:
            Unassigned
            Reporter:
            Tomasz Wojtun
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: