Opened 15 years ago

Last modified 15 years ago

#3442 closed defect

ContentPane Overlapping requests — at Initial Version

Reported by: Dustin Machi Owned by: anonymous
Priority: high Milestone:
Component: Dijit Version: 0.9
Keywords: Cc:
Blocked By: Blocking:

Description

Multiple requests to show a content pane can cause the page to load from the server more than once. This comes about in a fairly common case of placing a few content panes in a container (my test uses page container)and then showing any one of them at a time. When the page loads each of the hrefs for each content pane is loaded as expected. When the PageContainer? initializes it selects one of the widgets (the first one). Since the page has already been loaded, i expect it to just go to that page. The actual behavior is that it loads the page again. When these pages contain widgets it causes them to be parsed,created,destroyed,parsed created in a small period of time and in some cases can have other adverse affects in an app. Subsequent switching of the page uses the cache normally. I expect this error to be somewhere in the area of not aborting the original request properly when the next one came along.

Test Page: http://dojotoolkit.org/~dmachi/test-doubleLoad.html

Change History (0)

Note: See TracTickets for help on using tickets.