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

Changing revisions in source view encodes the url and shows a blank screen

      Steps to reproduce:

      1. Go to the source view of a file for a revision that doesn't exist (the file must be in a subdirectory, e.g. /a/file, not /file)
      2. Change the revision using the dropdown

      Expected: The file is shown at the new revision

      Actual: There is a blank screen

      This seems to be caused by the URL being encoded when it shouldn't be. i.e. it navigates to /projects/PROJECT_KEY/repos/REPO_SLUG/browse/path%2Fto%2Ffile?at=refs%2Fheads%2Fmaster and the '/' from the file path are encoded when they shouldn't be

       

            [BSERV-9878] Changing revisions in source view encodes the url and shows a blank screen

            Owen made changes -
            Workflow Original: Stash Workflow - Restricted [ 2403474 ] New: JAC Bug Workflow v3 [ 3136957 ]
            Owen made changes -
            Symptom Severity Original: Minor [ 14432 ] New: Severity 3 - Minor [ 15832 ]
            Isabella Stephens made changes -
            Fix Version/s New: 5.3.0 [ 72810 ]
            Resolution New: Fixed [ 1 ]
            Status Original: Open [ 1 ] New: Closed [ 6 ]
            Ben Humphreys made changes -
            Remote Link New: This issue links to "Bitbucket Server › Pull Request Build › bugfix-BSERV-9878-blank-screen-in-source-view (server-syd-bamboo)" [ 308618 ]
            Ben Humphreys made changes -
            Remote Link New: This issue links to "Bitbucket Server › Pull Request Build with Coverage › bugfix-BSERV-9878-blank-screen-in-source-view (server-syd-bamboo)" [ 308714 ]
            Isabella Stephens made changes -
            Assignee New: Isabella Stephens [ istephens ]
            Adam Ahmed (Inactive) made changes -
            Description Original: Steps to reproduce:
             # Go to the source view of a file for a revision that doesn't exist
             # Change the revision using the dropdown

            Expected: The file is shown at the new revision

            Actual: There is a blank screen


            This seems to be caused by the URL being encoded when it shouldn't be. i.e. it navigates to {{/projects/PROJECT_KEY/repos/REPO_SLUG/browse/path%2Fto%2Ffile?at=refs%2Fheads%2Fmaster}} and the '/' from the file path are encoded when they shouldn't be

             
            New: Steps to reproduce:
             # Go to the source view of a file for a revision that doesn't exist (the file must be in a subdirectory, e.g. /a/file, not /file)
             # Change the revision using the dropdown

            Expected: The file is shown at the new revision

            Actual: There is a blank screen


            This seems to be caused by the URL being encoded when it shouldn't be. i.e. it navigates to {{/projects/PROJECT_KEY/repos/REPO_SLUG/browse/path%2Fto%2Ffile?at=refs%2Fheads%2Fmaster}} and the '/' from the file path are encoded when they shouldn't be

             
            Andrei Khudavets made changes -
            Labels Original: front-end New: front-end lemonheads
            Andrei Khudavets made changes -
            Status Original: Needs Triage [ 10030 ] New: Open [ 1 ]
            Andrei Khudavets made changes -
            Component/s New: Repository - Source / Diff [ 17707 ]

              istephens Isabella Stephens
              khughes@atlassian.com Kristy
              Affected customers:
              0 This affects my team
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: