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

run job button for parametrised job error -- createRunStartedToast: TypeError: Cannot read property 'self' of undefined

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • blueocean-plugin
    • BlueOcean 1.0.0-b25
      Jenkins 2.47

      Google Chrome 56.0.2924.87
      MacOS 10.12.1

      about.md is the about.md from the support bundle plugin.
    • 1.0

      Original request
      When clicking the "play/run" button on a job in the blueocean to build a particular branch, i get the following Javascript error in my developer console, and server logs don't have anything at all related to this job:
       

      blueocean.js:306 Uncaught (in promise) TypeError: Cannot read property 'self' of undefined
       at Object.createRunStartedToast (blueocean.js:306)
       at blueocean.js:3734
      createRunStartedToast @ blueocean.js:306
      (anonymous) @ blueocean.js:3734

       
      Notes

      • HAR file has been generated by reporter and is available from UX-619 on the CloudBees JIRA.

       

      The only reference to "self" in ToasUtils is: https://github.com/jenkinsci/blueocean-plugin/blob/master/blueocean-core-js/src/js/ToastUtils.js#L28 - not sure why runInfo would have no _links... 

          [JENKINS-42559] run job button for parametrised job error -- createRunStartedToast: TypeError: Cannot read property 'self' of undefined

          Chance Zibolski created issue -
          James Dumay made changes -
          Sprint New: 1.0 [ 221 ]
          Chance Zibolski made changes -
          Attachment New: Screen Shot 2017-03-09 at 10.14.09 AM.png [ 36362 ]
          Chance Zibolski made changes -
          Attachment Original: Screen Shot 2017-03-09 at 10.14.09 AM.png [ 36362 ]
          Chance Zibolski made changes -
          Attachment New: Screen Shot 2017-03-09 at 10.22.47 AM.png [ 36363 ]
          James Dumay made changes -
          Description Original: When clicking the "play/run" button on a job in the blueocean to build a particular pull-request, i get the following Javascript error in my developer console, and server logs don't have anything at all related to this job:
            
          {noformat}
          blueocean.js:306 Uncaught (in promise) TypeError: Cannot read property 'self' of undefined
           at Object.createRunStartedToast (blueocean.js:306)
           at blueocean.js:3734
          createRunStartedToast @ blueocean.js:306
          (anonymous) @ blueocean.js:3734{noformat}
           
          New: *Original request*
          When clicking the "play/run" button on a job in the blueocean to build a particular pull-request, i get the following Javascript error in my developer console, and server logs don't have anything at all related to this job:
            
          {noformat}
          blueocean.js:306 Uncaught (in promise) TypeError: Cannot read property 'self' of undefined
           at Object.createRunStartedToast (blueocean.js:306)
           at blueocean.js:3734
          createRunStartedToast @ blueocean.js:306
          (anonymous) @ blueocean.js:3734{noformat}
           
          *Notes*
          * HAR file has been generated by reporter and is available from https://cloudbees.atlassian.net/browse/UX-619
          James Dumay made changes -
          Description Original: *Original request*
          When clicking the "play/run" button on a job in the blueocean to build a particular pull-request, i get the following Javascript error in my developer console, and server logs don't have anything at all related to this job:
            
          {noformat}
          blueocean.js:306 Uncaught (in promise) TypeError: Cannot read property 'self' of undefined
           at Object.createRunStartedToast (blueocean.js:306)
           at blueocean.js:3734
          createRunStartedToast @ blueocean.js:306
          (anonymous) @ blueocean.js:3734{noformat}
           
          *Notes*
          * HAR file has been generated by reporter and is available from https://cloudbees.atlassian.net/browse/UX-619
          New: *Original request*
          When clicking the "play/run" button on a job in the blueocean to build a particular pull-request, i get the following Javascript error in my developer console, and server logs don't have anything at all related to this job:
            
          {noformat}
          blueocean.js:306 Uncaught (in promise) TypeError: Cannot read property 'self' of undefined
           at Object.createRunStartedToast (blueocean.js:306)
           at blueocean.js:3734
          createRunStartedToast @ blueocean.js:306
          (anonymous) @ blueocean.js:3734{noformat}
           
          *Notes*
          * HAR file has been generated by reporter and is available from UX-619 on the CloudBees JIRA.
          Michael Neale made changes -
          Epic Link New: JENKINS-35742 [ 171802 ]
          Chance Zibolski made changes -
          Attachment New: Screen Shot 2017-03-09 at 4.57.48 PM.png [ 36374 ]
          Chance Zibolski made changes -
          Attachment New: Screen Shot 2017-03-09 at 5.00.55 PM.png [ 36375 ]
          Chance Zibolski made changes -
          Description Original: *Original request*
          When clicking the "play/run" button on a job in the blueocean to build a particular pull-request, i get the following Javascript error in my developer console, and server logs don't have anything at all related to this job:
            
          {noformat}
          blueocean.js:306 Uncaught (in promise) TypeError: Cannot read property 'self' of undefined
           at Object.createRunStartedToast (blueocean.js:306)
           at blueocean.js:3734
          createRunStartedToast @ blueocean.js:306
          (anonymous) @ blueocean.js:3734{noformat}
           
          *Notes*
          * HAR file has been generated by reporter and is available from UX-619 on the CloudBees JIRA.
          New: *Original request*
           When clicking the "play/run" button on a job in the blueocean to build a particular branch, i get the following Javascript error in my developer console, and server logs don't have anything at all related to this job:
            
          {noformat}
          blueocean.js:306 Uncaught (in promise) TypeError: Cannot read property 'self' of undefined
           at Object.createRunStartedToast (blueocean.js:306)
           at blueocean.js:3734
          createRunStartedToast @ blueocean.js:306
          (anonymous) @ blueocean.js:3734{noformat}
           
           *Notes*
           * HAR file has been generated by reporter and is available from UX-619 on the CloudBees JIRA.

            Unassigned Unassigned
            chancez Chance Zibolski
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: