Binary File Diff View does not display parent image in Bitbucket Commit Page

XMLWordPrintable

    • 1
    • Severity 3 - Minor
    • 1

      Issue Summary

      When attempting to view the diff of a binary file images (PNG, JPEG, etc) in the commit page section of Bitbucket Cloud, the parent commit image does not display. Only the child commit image is shown correctly. 

      Steps to Reproduce

      1. Update any of the dimensions of a PNG/JPEG/JPG image (e.g., rotate, edit, resize).
      2. Save the changes to the image.
      3. Commit the modified image file and push the changes to the Bitbucket repository.
      4. Attempt to view the diff of the binary file in the commit page section.

      Expected Results

      Both the parent and child commit images should be displayed correctly in the diff view.

      Actual Results

      • The parent commit image does not show.
      • The child commit image is displayed correctly.
      • A 404 error occurs with the message "Commit not found", indicating an issue with the URL for the parent commit image and displays "Something went wrong" in the UI.

      Workaround

      The issue does not occur in the Pull Request (PR) diff view. Creating a PR for the changes can serve as a potential workaround to view the binary file diff correctly.

            Assignee:
            Unassigned
            Reporter:
            Karthick S
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: