tracker issue : CF-3227975

select a category, or use search below
(searches all categories and all time range)
Title:

Pages with frames sometimes load the wrong page when updating multiple frames

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

Reporter/Name(from Bugbase): Sean Coyne / Sean Coyne (Sean Coyne)

Created: 07/01/2012

Components: Installation/Config, Connector

Versions: 10.0

Failure Type:

Found In Build/Fixed In Build: Final / 282837

Priority/Frequency: Major / Most users will encounter

Locale/System: English / Mac 10.7 64-bit

Vote Count: 4

Problem Description:

I logged this bug in the prerelease tracker (#3152064).  It was closed and my post in the forums was basically ignored.  That said, I am still experiencing this with the "Final" build of CF 10, as is at least one other person, so I am not alone.  I have confirmed that it is related to the mod_jk modifications for the web server connector.  It does not happen if you use Tomcat w/o Apache (using the built in webserver).  I have confirmed this on a fresh install of OS X Lion 64 bit as well.

I ran the tests (outlined below) and confirmed with Charles Proxy that the request for "frame2.cfm" returned the content from "frame1.cfm".  ColdFusion itself processed the request fine, but the web server connector returned the wrong content.

It does not happen every time, but often enough to be extremely annoying.  It seems pretty random.  I setup a Selenium test to load the frames over and over and sometimes it can go 1000 times w/o seeing it and other times it will only make it 10 times before it loads the wrong content.  It seems that whenever multiple requests are made at the same time that sometimes the connector can return the content from one request to another.

Here is the original bug I submitted:



When using the apache connector, with a frameset page like the example attached, when you load both frames at the same time, one frame or the other will load the wrong page.  This does NOT happen when using the built in server, but only when using the Apache connector.

Steps to Reproduce:

Unzip the example to anywhere under the webroot and open the index.cfm page in a browser (both Chrome and Firefox display this behavior for me)

Click the "Reload all frames" link which is simply a link to index.cfm with the target="_top" attribute so it should just reload both frames.  One frame loads frame1.cfm and the other loads frame2.cfm.  These should never change, however sometimes frame1 will load the content from frame2.cfm and vice versa.

You can see a demo of this here: http://screencast.com/t/9p0S8VwMUhx3

I am running the public beta build on Mac OS X 10.7.3 64-bit.  I am using the Apache that is bundled w/ OS X, and the Apache connector installed as part of the CF install.  I have not modified the connector settings in any way.  If I load this same test using the built in web server I do not see this behavior. 

Actual Result:

Frame loads incorrect page (both frames show same page rather than each showing different pages)

Expected Result:

Each frame loads the correct page.  You can also see an example of this in this screencast: http://screencast.com/t/9p0S8VwMUhx3

Any Workarounds:

None that I know of.
Notes: This bug affects any pages with frames.  My example is a super simplified version, however FarCry which uses frames heavily in its user admin area is affected in my testing.

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	3227975

Keywords:
FixTested


External Customer Info:
External Company:  
External Customer Name: Sean Coyne
External Customer Email:  
External Test Config: My Hardware and Environment details:



Mac OS X Lion (10.7.4) 64-bit.

Apache (ships w/ Lion, other versions, like the version from Macports, do not work at all w/ the mod_jk connector)

Attachments:

  1. July 02, 2012 00:00:00: 1_frametest.zip

Comments:

Please fix this. It is affecting too many people and forcing us to roll back to CF9 or other products.
Vote by External U.
18833 | July 01, 2012 02:55:59 PM GMT
This also affects Mountain Lion and the version of Apache that is installed with MAMP (http://www.mamp.info/)
Comment by External U.
18828 | July 27, 2012 07:54:03 AM GMT
I am a developer on the FarCry framework mentioned - this is a significant issue for those of our users that work on Macs.
Vote by External U.
18834 | August 27, 2012 05:50:10 PM GMT
I'd like to see an urgent hotfix for this too
Vote by External U.
18835 | August 27, 2012 06:01:56 PM GMT
I have reproduced this issue on Windows 7 64-bit with ColdFusion 10 (build 282462), Apache 2.2.22 64-bit (from anindya.com) and the mod_jk connector bundled with CF10.
Comment by External U.
18829 | August 27, 2012 06:44:36 PM GMT
This bug affects Windows as well as MacOS and may result in serious "random" errors with no known workaround. In many cases the errors won't be observed until after the code is deployed to live environments.
Vote by External U.
18836 | August 27, 2012 06:50:13 PM GMT
We have not been able to reproduce it at our end. It would be really great if you can provide us any more information that would help us reproduce it and investigate it.
Comment by Rupesh K.
18830 | August 28, 2012 02:12:23 AM GMT
I'm not sure what else to tell you. It seems that 100% of every machine we've tested this on can replicate the bug seen in the video (using the sample code provided). How is it that your machines can be the only ones that can't replicate this bug?
Comment by External U.
18831 | September 11, 2012 09:15:35 AM GMT
Sorry for not updating you earlier. We have been able to reproduce it finally and the bug has been fixed. We will make the fix available shortly.
Comment by Rupesh K.
18832 | September 11, 2012 11:36:37 AM GMT