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

Details

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

    Description

      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>
        

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated: