'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:

        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

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

              Created:
              Updated:
              Resolved: