-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Low
-
Component/s: Workspace - Snippets
-
None
-
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
- Go to Snippets
- Edit or create a snippet
- 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