Cannot view old versions of jpgs
Asked by Sebilicious:

No matter how I try (clicking the alternate version directly, selecting a version from the previewer) I'm ALWAYS shown the latest version of the jpg.

What gives and what's the fix?

E.g.

[https://confluence.\*\*\*/download/attachments/2097187/quickdiagnose2.jpg?version=3\&amp;modificationDate=1525630225670\&amp;api=v2](https://confluence.***/download/attachments/2097187/quickdiagnose2.jpg?version=3&amp;modificationDate=1525630225670&amp;api=v2)

[https://confluence.\*\*\*/download/attachments/2097187/quickdiagnose2.jpg?version=2\&amp;modificationDate=1525434136860\&amp;api=v2](https://confluence.***/download/attachments/2097187/quickdiagnose2.jpg?version=2&amp;modificationDate=1525434136860&amp;api=v2)

[https://confluence.\*\*\*/download/attachments/2097187/quickdiagnose2.jpg?version=1\&amp;modificationDate=1522931741653\&amp;api=v2](https://confluence.***/download/attachments/2097187/quickdiagnose2.jpg?version=1&amp;modificationDate=1522931741653&amp;api=v2)

All present the exact same image.


Answers:
author: Sinan Yildirim
body: We are using Confluence 6.13.4 and we are affected.

I hope someone will take care about this bug.


author: Sebilicious
body: How can this be escalated into a formal bug?

comments: author: Christof Hurst
body: It's already a known bug that will be fixed some time.


author: Sebilicious
body: Never mind, issue since LAST YEAR

[https://jira.atlassian.com/browse/CONFSERVER-54125?jql=project%20%3D%20CONFSERVER%20AND%20resolution%20%3D%20Unresolved%20AND%20text%20\~%20%22jpeg%20version](https://jira.atlassian.com/browse/CONFSERVER-54125?jql=project%20%3D%20CONFSERVER%20AND%20resolution%20%3D%20Unresolved%20AND%20text%20~%20%22jpeg%20version)


author: Julien L.
body: Since last year: nobody use anymore JPEG file in our Confluence and we are waiting for this bug to be fixed to be able to recover our old JPEG versions files in our Documentation...


author: Victor Mutambuki
body: Sebastian,

Can you verify if the older versions of images are still there? It could be that they were deleted.

Victor

comments: author: Sebilicious
body: Yes, if I navigate to the attachments folder in the file system you can see that the versions still exist (with different creation dates/file sizes)

![confluence.png](https://community.atlassian.com/t5/image/serverpage/image-id/22091i11A3B660AB927A4D/image-size/large?v=v2&px=999 "confluence.png")


author: Victor Mutambuki
body: Sebastian,

Are the images in the attachments folder in confluence.?

![Screen Shot 2018-05-15 at 9.37.47 AM.png](https://community.atlassian.com/t5/image/serverpage/image-id/22094iA6BDBCC511ADDF67/image-size/large?v=v2&px=999 "Screen Shot 2018-05-15 at 9.37.47 AM.png")


author: Sebilicious
body: Yes the root (most current) images appear in the attachments section of confluence. You simply cannot view any of the image VERSIONs (as per attached)![confluence.png](https://community.atlassian.com/t5/image/serverpage/image-id/22096i40882E4AA0C9C5C5/image-size/large?v=v2&px=999 "confluence.png")

As I stated in the initial post, clicking Version 3 displays Version 4

Clicking Version 2 displays Version 4

Clicking Version 1 displays Version 4

Selecting Version 1 under Preview displays Version 4, and comically; also displays "**This is an older version of this file.**See the latest one"


author: Victor Mutambuki
body: Sebastian,

This seems to be an issue that hasn't been resolved yet by the owners. Please see link below.

<https://jira.atlassian.com/browse/CONFSERVER-37156?_ga=2.186567466.206468929.1526299393-2036332451.1475171229>

Victor


author: Sebilicious
body: Hi Victor, the attached issue talks about version of a page maintaining it's reference, not that prior versions of an attachment are inaccessible.

Additionally I have just found that this seems to ONLY affect jpgs, as it works correctly when the file is a png (as attached)

![confluence.png](https://community.atlassian.com/t5/image/serverpage/image-id/22103iE6672B8024134108/image-size/large?v=v2&px=999 "confluence.png")


author: Victor Mutambuki
body: Thanks for that info.


author: Sebilicious
body: FYI, the EXACT same scenario/steps, but with jpg instead of png

![confluence.png](https://community.atlassian.com/t5/image/serverpage/image-id/22107iC223B3653A4AC784/image-size/large?v=v2&px=999 "confluence.png")


Tags: confluence-server

server