Opened 7 years ago

Closed 7 years ago

#16445 closed defect (fixed)

Many 1.8 samples fail when loaded from cache

Reported by: Randy Hudson Owned by: bill
Priority: undecided Milestone: 1.9
Component: Documentation Version: 1.8.1
Keywords: Cc: Kitson Kelly
Blocked By: Blocking:

Description

In Safari, I'm looking at the page: https://dojotoolkit.org/reference-guide/1.8/dijit/_editor/plugins/LinkDialog.html

The first time I click on the "Run" button, an empty dialog appears. After a long wait, the code glass example is finally loaded and I see the editor.

But if I refresh the whole page and click on the Run button again, the dialog stays empty and the example never loads. The only way to make it work again is to clear the browser's cache. It seems like there is bug in the AMD loader that is dependent on load times?

Change History (3)

comment:1 Changed 7 years ago by bill

Component: LoaderDocumentation

I doubt there's any problem with the loader. I did reproduce the problem on Safari/mac, although not Chrome mac.

The example is loaded and initialized correctly, but the iframe stays hidden. display() in https://github.com/phiggins42/rstwiki/blob/master/_static/docs/CodeGlassViewerMini.js isn't getting called, or maybe is failing somehow.

I'll take a look.

comment:2 Changed 7 years ago by bill

Cc: Kitson Kelly added
Milestone: tbd1.9
Owner: changed from Rawld Gill to bill
Status: newassigned

comment:3 Changed 7 years ago by bill

Resolution: fixed
Status: assignedclosed

OK, fixed in https://github.com/phiggins42/rstwiki/commit/6e2b277601ab86de0d996137de4d0d21a6e21009, I guess that will show up when we roll out the doc website for 1.9, unless we want to roll it out earlier.

Note: See TracTickets for help on using tickets.