Uploaded image for project: 'Bitbucket Server'
  1. Bitbucket Server
  2. BSERV-12033

Viewing a file at an ambiguous ref causes the wrong content to be displayed.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Low
    • Resolution: Fixed
    • Affects Version/s: 6.5.2, 5.16.10, 6.0.10, 6.1.8, 6.2.6, 6.3.5, 6.4.3, 6.6.2, 6.7.2
    • Fix Version/s: 6.8.0
    • Component/s: UI
    • Labels:
      None

      Description

      Issue Summary

      Incorrect content is displayed when a file view is requested at an ambiguous ref

      Steps to Reproduce

      1. Create a tag that has the same name as a branch e.g. `git tag master`
      2. Make a change to a file that already exists on master
      3. Push the change to Bitbucket
      4. View the file in Bitbucket source view

      Expected Results

      View the file content on the branch that was requested

      Actual Results

      The file content at tag that has the same name as the branch.

      Workaround

      Delete ambiguous refs.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              rfriend rikf
              Reporter:
              rfriend rikf
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: