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

Context menu does not appear for branches with special characters in their name

    XMLWordPrintable

Details

    Description

      Problem

      If the name of the branch is specified as of the following format, the context menu on the branches page does not behave as expected: <.*>. The behavior is different if the characters between the < and > signs are numeric-only.

      Steps to reproduce

      1. Create a branch on any existing repository, naming the branch: <something> or <1234>
      2. Navigate to the Branches page in the repository
      3. Click on ... to access the context menu (attempting to delete the branch)
      Expected results
      • The context menu is displayed and operations can be performed
      Actual results
      • If the branch name contains numeric characters only (e.g.: <1234>), the context menu is not shown at all
      • If the branch name contains numeric and string literal characters (e.g.: <something123>, the context menu is displayed in the top-right corner of the browser tab, instead of the expected location

      Workaround

      • The workaround is to delete the branch manually from the command line using the corresponding git commands (characters < and > will have to be escaped).
      • Avoid using special characters in the branch name

      Attachments

        Issue Links

          Activity

            People

              khughes@atlassian.com Kristy
              pkoczan Peter Koczan (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: