Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-16956

Page breaks when trying to see file commit history

    XMLWordPrintable

    Details

      Description

      Whenever I try to check the file commit history for a specific branch (e.g: https://bitbucket.org/<user>/<project>/history-node/<commit>/<path>/<to>/<file>/<file.ext>?at=<branch>
      ), the page breaks.

      Console error below:

      #!javascript
      
      TypeError: Cannot read property &#x27;0&#x27; of undefined
          at commit-list.js:101
          at Array.map (<anonymous>)
          at t.render (commit-list.js:91)
          at ji (react-dom.production.min.js:167)
          at Mi (react-dom.production.min.js:180)
          at pa (react-dom.production.min.js:202)
          at ha (react-dom.production.min.js:203)
          at Za (react-dom.production.min.js:212)
          at Ga (react-dom.production.min.js:211)
          at Va (react-dom.production.min.js:211)
          at Ua (react-dom.production.min.js:209)
          at ya (react-dom.production.min.js:207)
          at Object.enqueueSetState (react-dom.production.min.js:148)
          at t.x.setState (react.production.min.js:12)
          at t.<anonymous> (file-history-provider.js:85)
          at w (runtime.js:62)
          at Generator._invoke (runtime.js:296)
          at Generator.e.(<...>/anonymous function) [as next] (https://d301sr5gafysq2.cloudfront.net/frontbucket/app.df0946fe1e34c4a75355.js:123:76197)
          at u (asyncToGenerator.js:12)
          at s (asyncToGenerator.js:27)
          at nrWrapper (VM17 present_appointment_slot_service_spec.rb:18)
      e.(anonymous function) @ console.js:35
      

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            addcb1caecaf Lucas Azevedo
            Votes:
            6 Vote for this issue
            Watchers:
            12 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: