Ticket #155 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

Layout fails to re-load when browser refresh button is pushed (in IE7 with default settings)

Reported by: chrisclaydon Owned by: madair
Priority: P1 Milestone: 2.0
Component: Core Version: SVN
Severity: Major Keywords:
Cc: External ID: 1152238
state: Analysis Requested Browser: All
Operating System: All

Description

In IE7, load up a Fusion layout based on the Slate template. It should work the first time. Then click the browser's refresh button.

In IE7, the layout can fail to load after the refresh. It depends on the caching settings...

In IE, click on Tools->Internet Options, and on the 'General' tab, click on the Settings button in the 'Browsing history' section. In the 'Check for newer versions of stored pages' section, this problem occurs if the setting is 'Automatically', but does not occur if it is set to 'Every time I visit the webpage'.

Change History

Changed 3 years ago by madair

  • status changed from new to assigned

I'm unable to reproduce this. Using IE7, cache set to check automatically, I can see the traffic in Fiddler with many 304 responses. Is there some other setting in play here? Also tried disabling script debugging but the page always reloads for me.

Changed 3 years ago by chrisclaydon

Are you retrieving the application definition from the MapGuide repository, or using the local ApplicationDefinition.xml?

Changed 3 years ago by madair

Loading the AppDef? from the repository gives the same results (i.e. can't reproduce the problem). I am launching the page by copy/paste of the URL from Studio 2009 into the browser (IE isn't my default browser, and I'm running into problems getting MG2010 Apacherunning).

Changed 3 years ago by chrisclaydon

If I change the Slate template to link fusion.js, I can't reproduce it. If I change it back to fusionSF-compressed.js, I can.

Changed 3 years ago by madair

(In [1655]) re #155: use setTimeout to call getAppDef so that ApplicationDefinition.parse will return before Fusion.setLaodState(LOAD_WIDGETS) gets called (otherwise Fusion.ApplicationDefinition is null). When the browser is set to read files from cache, the AppDef? is retrieved from cache and the sequence of callbacks is executed too quickly

Changed 3 years ago by madair

  • status changed from assigned to closed
  • resolution set to fixed

Changed 3 years ago by chrisclaydon

  • status changed from closed to reopened
  • resolution fixed deleted

Changed 3 years ago by madair

  • status changed from reopened to closed
  • resolution set to fixed

(In [1681]) closes #155: also break execution thread if session parameter is supplied

Note: See TracTickets for help on using tickets.