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

Blue ocean branches page crashes when branch does not have a last run date

    XMLWordPrintable

    Details

    • Sprint:
      tethys, pannonian
    • Similar Issues:

      Description

      When opening the branches view of blue ocean, the page will not render throwing a javascript error if a branch does not have a last run date set:

      jenkins-js-extension.js:31756 Uncaught TypeError: Cannot read property 'id' of null
          at Branches.render (jenkins-js-extension.js:31756)
          at Object.allowStateChanges (jenkins-js-extension.js:11157)
          at Reaction.<anonymous> (jenkins-js-extension.js:9174)
          at trackDerivedFunction (jenkins-js-extension.js:11424)
          at Reaction.track (jenkins-js-extension.js:11753)
          at reactiveRender (jenkins-js-extension.js:9170)
          at Branches.initialRender (jenkins-js-extension.js:9164)
          at ReactCompositeComponentWrapper._renderValidatedComponentWithoutOwnerOrContext (blueocean.js:81115)
          at ReactCompositeComponentWrapper._renderValidatedComponent (blueocean.js:81138)
          at ReactCompositeComponentWrapper.performInitialMount (blueocean.js:80680)
      

      See attached screen capture of debugger console:

        Attachments

          Issue Links

            Activity

            Hide
            brody Brody Maclean added a comment -
            Show
            brody Brody Maclean added a comment - Ivan Meredith Is this the same as https://issues.jenkins-ci.org/browse/JENKINS-41238 ?
            Hide
            kamikaze Oleg Korsak added a comment -

            Got same problem

            Show
            kamikaze Oleg Korsak added a comment - Got same problem
            Hide
            jamesdumay James Dumay added a comment -

            Thanks Oleg please bear with us while we get the right fixes out

            Show
            jamesdumay James Dumay added a comment - Thanks Oleg please bear with us while we get the right fixes out
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Ivan Meredith
            Path:
            src/main/js/custom_commands/waitForElementVisibleThenClick.js
            src/test/js/multibranch/noRunsActivityPage.js
            http://jenkins-ci.org/commit/blueocean-acceptance-test/ec10c43315cc76d9d75e37baab3f885766749ded
            Log:
            JENKINS-40740 Ath tets to cover missing run data

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Ivan Meredith Path: src/main/js/custom_commands/waitForElementVisibleThenClick.js src/test/js/multibranch/noRunsActivityPage.js http://jenkins-ci.org/commit/blueocean-acceptance-test/ec10c43315cc76d9d75e37baab3f885766749ded Log: JENKINS-40740 Ath tets to cover missing run data
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Ivan Meredith
            Path:
            src/main/js/custom_commands/waitForElementVisibleThenClick.js
            src/test/js/multibranch/noRunsActivityPage.js
            http://jenkins-ci.org/commit/blueocean-acceptance-test/116bcf2714bca556fd09102cfd74a3fc1ef144ed
            Log:
            JENKINS-40740 Ath tests to cover missing run data (#106)

            • More descriptive labels
            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Ivan Meredith Path: src/main/js/custom_commands/waitForElementVisibleThenClick.js src/test/js/multibranch/noRunsActivityPage.js http://jenkins-ci.org/commit/blueocean-acceptance-test/116bcf2714bca556fd09102cfd74a3fc1ef144ed Log: JENKINS-40740 Ath tests to cover missing run data (#106) JENKINS-40740 Ath tets to cover missing run data More descriptive labels

              People

              • Assignee:
                imeredith Ivan Meredith
                Reporter:
                jredl Jesse Redl
              • Votes:
                1 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: