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

'Unexpected Error occurred' in source view when switching branches from a branch without a file to a branch with a file

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Low
    • 4.11.0
    • None
    • None

    Description

      Steps to reproduce:

      1. Go directly to a url to browse the source of a branch at a file that doesn't exist (this can happen through viewing the source on a PR with a moved file on the target, as per BSERV-7297)
      2. Change branches to a branch that you know the file exists on

      Expected behaviour:

      File is shown

      Actual behaviour:

      "Unexpected Error occurred" is shown in the file viewer:

      Attachments

        1. bserv-9097.gif
          507 kB
          John van der Loo
        2. Screen Shot 2016-08-26 at 3.36.18 PM.png
          153 kB
          Kristy

        Issue Links

          Activity

            People

              jvanderloo@atlassian.com John van der Loo (Inactive)
              khughes@atlassian.com Kristy
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: