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

If commit message is empty, the browser freezes when loading commit

    XMLWordPrintable

Details

    Description

      Summary

      When viewing the commits for a repository, if you hover or attempt to click on a commit with an empty commit message, the browser will become unresponsive.

      Steps to Reproduce

      1. Make change and add commit with empty message
        1. jdeveloper could be used for commit
        2. from git command line
          git commit -a --allow-empty-message -m '' 
          
      2. Push changes to repository
      3. Navigate to the repository and select the commits page
      4. Hover over or attempt to click on the commit where the message is empty

      Expected Results

      The commit will load to display the commit changes.

      Actual Results

      The browser becomes unresponsive and you are unable to click on anything else. You are even unable to retrieve HAR or javascript console activity.

      Workaround

      Provide a commit message and or update commit to provide message

      Attachments

        Issue Links

          Activity

            People

              khughes@atlassian.com Kristy
              mwilliams@atlassian.com Mark A.
              Votes:
              2 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: