Snippets - Adding a PNG file cause 'Something went wrong' error

XMLWordPrintable

    • 2
    • Severity 3 - Minor
    • 59

      Issue Summary

      Adding a PNG file in Snippet (in Bitbucket UI or using Git command) causes issue and user can't view the Snippet in Bitbucket UI.

      The user do receive the following error:

       

      Something went wrong

      Steps to Reproduce

      1. Go to Snippets
      2. Edit or create a snippet
      3. Add a png file

      This is reproducible with adding a PNG file using Bitbucket UI or using the Git commands locally.

      Expected Results

      Attach png files correctly and able to view the Snippet in Bitbucket UI.

      Actual Results

      Unable to view Snippet in Bitbucket UI.

      Something went wrong 

      Workaround

      There are two workraounds available:

      • Use Git clone command to clone the Snippet and user should be able to view the Snippet using the PNG file
      • Use the API to retrieve the Snippet. The Snippet will have the link to the PNG file that can be downloaded using -o option

            Assignee:
            Unassigned
            Reporter:
            Marlene Harms
            Votes:
            2 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated: