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

Hetero lists broken in Jenkins 1.455+ by introduction of resource adjuncts

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • core
    • Jenkins v1.455

      The use of <f:section> elements inside newly-added items in a hetero list are broken. This appears to be caused by the introduction of resource adjuncts in Jenkins 1.455.

      The generated html of a <f:section> entry changed in v1.455 to include these extra elements:

      <link rel="stylesheet" href="/adjuncts/29830985/lib/form/section_.css" type="text/css">
      <script src="/adjuncts/29830985/lib/form/section_.js" type="text/javascript"></script>
      

      I believe it is the link element causing the problems because if I wrap the <f:section> in an <f:advanced> tag, then edit the DOM to remove the <link ... href="/adjuncts/29830985/lib/form/section_.css"> element, then the hetero list entry loads successfully when the advanced section is expanded.

      An example of this is the Sectioned View Plugin. If you add a new List View Section to a Sectioned View then the Advanced section (which contains a <f:section> tag) is empty when expanded in Jenkins 1.455+. If you edit the DOM immediately after adding the List View Section (before clicking the Advanced button) to remove that extra <link ...> element, then the Advanced section will work properly.

          [JENKINS-14632] Hetero lists broken in Jenkins 1.455+ by introduction of resource adjuncts

          Timothy Bingaman created issue -
          Timothy Bingaman made changes -
          Link New: This issue is related to JENKINS-13212 [ JENKINS-13212 ]
          Jesse Glick made changes -
          Assignee New: Kohsuke Kawaguchi [ kohsuke ]
          Daniel Beck made changes -
          Link New: This issue is related to JENKINS-19169 [ JENKINS-19169 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 145328 ] New: JNJira + In-Review [ 176318 ]
          Vincent Latombe made changes -
          Assignee Original: Kohsuke Kawaguchi [ kohsuke ] New: Vincent Latombe [ vlatombe ]
          Vincent Latombe made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Vincent Latombe made changes -
          Remote Link New: This issue links to "PR #3467 (Web Link)" [ 20781 ]
          Vincent Latombe made changes -
          Status Original: In Progress [ 3 ] New: In Review [ 10005 ]
          Oleg Nenashev made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: In Review [ 10005 ] New: Resolved [ 5 ]
          Oleg Nenashev made changes -
          Labels New: lts-candidate

            vlatombe Vincent Latombe
            tbingaman Timothy Bingaman
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: