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

Test results analyzer JavaScript error when clicked on show children image to expand tree

      Test results analyzer plugin does not expand its items on Jenkins 2.426 and later. When show children image (plus sign) is clicked, the child elements are not displayed and the below error is printed on browser console:

      When 
      testresult.js:140 Uncaught TypeError: $ is not a function
          at getDescendants (testresult.js:140:32)
          at toggleHandler (testresult.js:229:16)
          at HTMLSpanElement.<anonymous> (testresult.js:249:9)
          at HTMLSpanElement.dispatch (jquery-1.11.1.min.js:3:8436)
          at r.handle (jquery-1.11.1.min.js:3:5139)

      Tested with
      Chrome Version 119.0.6045.160.
      Jenkins Version 2.430
      Test Results Analyzer 0.4.0

        1. run-jenkins.sh
          0.9 kB
          Mark Waite
        2. plugins.txt
          0.9 kB
          Mark Waite
        3. generate-test-results-job-config.xml
          3 kB
          Mark Waite

          [JENKINS-72358] Test results analyzer JavaScript error when clicked on show children image to expand tree

          cem created issue -
          cem made changes -
          Summary Original: javascript error when clicked on plus image to expand tree New: javascript error when clicked on show children image to expand tree
          Mark Waite made changes -
          Remote Link New: This issue links to "PR 101 - replace Prototype.js $(var) with var (Web Link)" [ 29103 ]
          Mark Waite made changes -
          Epic Link New: JENKINS-70906 [ 218261 ]
          Mark Waite made changes -
          Summary Original: javascript error when clicked on show children image to expand tree New: Test results analyzer JavaScript error when clicked on show children image to expand tree
          Mark Waite made changes -
          Attachment New: plugins.txt [ 61603 ]
          Mark Waite made changes -
          Attachment New: run-jenkins.sh [ 61604 ]
          Mark Waite made changes -
          Attachment New: generate-test-results-job-config.xml [ 61605 ]
          Mark Waite made changes -
          Description Original: Test results analyzer plugin is broken. When show children image (plus sign) is clicked, the child elements are not displayed and the below error is printed on browser console:

          When 
          testresult.js:140 Uncaught TypeError: $ is not a function
              at getDescendants (testresult.js:140:32)
              at toggleHandler (testresult.js:229:16)
              at HTMLSpanElement.<anonymous> (testresult.js:249:9)
              at HTMLSpanElement.dispatch (jquery-1.11.1.min.js:3:8436)
              at r.handle (jquery-1.11.1.min.js:3:5139)

          Tested with
          Chrome Version 119.0.6045.160.
          Jenkins Version 2.430
          Test Results Analyzer 0.4.0
          New: Test results analyzer plugin does not expand its items on Jenkins 2.426 and later. When show children image (plus sign) is clicked, the child elements are not displayed and the below error is printed on browser console:

          When 
          testresult.js:140 Uncaught TypeError: $ is not a function
              at getDescendants (testresult.js:140:32)
              at toggleHandler (testresult.js:229:16)
              at HTMLSpanElement.<anonymous> (testresult.js:249:9)
              at HTMLSpanElement.dispatch (jquery-1.11.1.min.js:3:8436)
              at r.handle (jquery-1.11.1.min.js:3:5139)

          Tested with
          Chrome Version 119.0.6045.160.
          Jenkins Version 2.430
          Test Results Analyzer 0.4.0
          Mark Waite made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Fixed but Unreleased [ 10203 ]
          Mark Waite made changes -
          Remote Link New: This issue links to "Pre-release build that includes the fix (Web Link)" [ 29105 ]

            markewaite Mark Waite
            cem_polat cem
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: