Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-13135

History Drop down in Source View Errors Out After 60 Seconds

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Low Low
    • None
    • 7.6.3, 7.21.7
    • UI

      Issue Summary

      While navigating to the source view of a file with a long commit history, the history dropdown menu keep loading for a while and after 60 seconds errors out with.

      Steps to Reproduce

      1. Navigate to the source view of a file with a long commit history.
      2. Click on the history dropdown
      3. The drop down will load for a minute and error out.

      Expected Results

      History dropdown should show whatever git was able to fetch from the repository and list it.

      Actual Results

      History dropdown runs for a minute and errors out with the following.

      This issue is caused by the UI timeout that is set to 60 seconds

      Workaround

      1. Use git log for checking the history of the file
        git log -p <file-name>
        
      2. Use the rest API for checking the file history
        https://<BITUCKET_BAS_URL>/rest/api/latest/projects/<projectId>/repos/<repositoryId>/commits?path=<FILE-PATH>
        

        1. image-2022-02-02-18-29-47-386.png
          155 kB
          Douglas Gnoato
        2. image-2022-02-02-18-30-15-787.png
          240 kB
          Douglas Gnoato

            Unassigned Unassigned
            dgnoato@atlassian.com Douglas Gnoato
            Votes:
            1 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated: