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

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Low
    • 4.11.0
    • Affects Version/s: None
    • Component/s: None
    • Severity 3 - Minor

      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:

            Assignee:
            John van der Loo (Inactive)
            Reporter:
            Kristy
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: