Bug 1017770

Summary: Designer is caching old version of process in IE
Product: [Retired] JBoss BPMS Platform 6 Reporter: Kris Verlaenen <kverlaen>
Component: jBPM DesignerAssignee: Tihomir Surdilovic <tsurdilo>
Status: CLOSED CURRENTRELEASE QA Contact: Tomas Livora <tlivora>
Severity: high Docs Contact:
Priority: high    
Version: 6.0.0CC: mbaluch, rrajasek, smala
Target Milestone: CR1   
Target Release: 6.0.0   
Hardware: Unspecified   
OS: Windows   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-08-06 20:09:17 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Kris Verlaenen 2013-10-10 13:29:25 UTC
Description of problem:
When editing a process in IE and then closing and reopening designer, it is regularly showing an older, cached version of the process.

How reproducible:


Steps to Reproduce:
1. Open process in designer in IE
2. Edit process, save and close designer
3. Reopen designer

Actual results:
Showing old, cached version of the process

Expected results:
Showing new, updated version of the process

Additional info:
Works fine on Chrome and FF

Workaround:
In IE Setting, under Browsing History Settings, change Temporary Internet Files update policy to check for a new version "Every time I visit the webpage" (not "Automatically" whichis the default.

Comment 1 Kris Verlaenen 2013-10-10 13:32:17 UTC
I believe adding something like the current timestamp as a param in the request might trick IE into believing this is different from the previous cached version and thus always retrieving the latest one.

Comment 3 Tihomir Surdilovic 2013-10-11 16:53:20 UTC
fixed in designer master and 6.0.x branches.

Comment 4 Tomas Livora 2013-12-09 09:24:14 UTC
The bug is not fixed in ER5. When I open a process in IE 11, change it, save it, close the designer and reopen it, there is an old version of the process.

Comment 5 Kris Verlaenen 2013-12-10 01:35:11 UTC
Tiho, I can confirm this doesn't seem to be fixed in latest 6.0.x.  Are you sure that the fix was cherry-picked (as I'm pretty sure I tested a fix at some point, that seemed to work)?

Workaround:  Turn off caching of webpages in IE
For IE11: Tools -> Internet Options, in the General tab, under browsing history, click Settings button and in the Temporary Internet Files tab, set the Check for newer versions of stored pages to Every time I visit the webpage.

Comment 6 Tihomir Surdilovic 2013-12-10 17:20:29 UTC
The original commit was placed in the 6.0.x branch. I have now added the no-cache directive on the designer jsp itself to help prevent caching of it in the browser. Please retest. This fix is in the Designer master and 6.0.x branches.

Comment 7 Kris Verlaenen 2013-12-18 14:16:59 UTC
Tiho, testing latest 6.0.x still shows the same behavior.

Comment 8 Kris Verlaenen 2014-01-07 14:46:29 UTC
*** Bug 1049405 has been marked as a duplicate of this bug. ***

Comment 9 Tihomir Surdilovic 2014-01-08 19:07:45 UTC
fixed in designer master and 6.0.x branches

Comment 10 Tomas Livora 2014-01-20 12:20:18 UTC
Verified on BPMS 6.0.0-CR1