[MAGNOLIA-4743] Internet browser is caching the old image even after adding a new image Created: 20/Dec/12  Updated: 26/Jul/13  Resolved: 04/Jan/13

Status: Closed
Project: Magnolia
Component/s: admininterface
Affects Version/s: 4.5
Fix Version/s: 4.5.8

Type: Bug Priority: Major
Reporter: Senthilnathan Subash Assignee: Jaroslav Simak
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

: Windows 7 with Magnolia 4.5.3 using Mysql as the DB


Attachments: File DAM_Component_Issue.docx    
Issue Links:
causality
is causing MAGNOLIA-5204 No more image preview in dialogs Closed
relation
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:

 Description   

Steps:
1. Upload image from computer desktop using DAM control.

2. Save Image.

3. Click on "pencil" icon to edit picture.

4. Remove image.

5. Choose a different image to upload.

6. Save image.

7. Click on "pencil" icon to add a different image.

Expected result: In pop-up editing window we should see the last photo that was uploaded.

Observed result: we catually see the first picture that was uploaded.

The behaviour is same in the demo-project also.



 Comments   
Comment by Senthilnathan Subash [ 24/Dec/12 ]

HI,
We are using Magnolia version 4.5.3.Could you please provide a patch for this fix so that I don't chnage my version.

Comment by Senthilnathan Subash [ 27/Dec/12 ]

Hi,
Could you please update on my query whether I can get a seperate patch for this fix

Comment by Jan Haderka [ 03/Jan/13 ]

Looking at the fix it seems that title doesn't match description of real problem.

Comment by Jan Haderka [ 03/Jan/13 ]

@Senthilnathan Fix is available in our git Repository along with the other code. You can download it and build for yourself at any time without waiting for the release. If you have valid support contract and want Magnolia to provide you with prebuilt gui module with patch for this issue, please open a support ticket for this request.

Comment by Senthilnathan Subash [ 03/Jan/13 ]

Hi Jan,
I raised a support ticket for the same and deployed the war locally and verified.But the defect seems to still exists.I have give my support request below.

http://jira.magnolia-cms.com/browse/SUPPORT-2056

Kidnly let me know if I need to do anything extra.

Comment by Jaroslav Simak [ 04/Jan/13 ]

This bug is related to browser cache. Because path to image in dialog preview was still the same, browser cached this path and image related to it. This was causing that preview image was not changing accordingly. Browser was still showing first image it cached.
To prevent this i just fixed path for image. It now uses path of image that was uploaded.

Comment by Jan Haderka [ 25/Jan/13 ]

Next time please separate functional changes from the code changes. Mixing both makes review very difficult.

Generated at Mon Feb 12 03:58:37 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.