Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#6158 closed defect (duplicate)

CRASHED: "djConfig is not defined" [Nightly build for 2008-03-11]

Reported by: guest Owned by: bradneuberg
Priority: high Milestone: 1.1
Component: Offline Version:
Keywords: Cc: manu@…
Blocked By: Blocking:

Description

  • DojoX Offline [Nightly build for 2008-03-11]
  • Tested on Firefox 2 and IE6

I observe a bug when I try the dojox offline sample http://archive.dojotoolkit.org/nightly/dojotoolkit/dojox/off/demos/helloworld/helloworld.html : Firebug (and IE console) put a "djConfig is not defined" in offline.js. Idem if I try my own application.

After downloading and observing this nightly build, it appears in offline.js.uncompressed.js at line 3541 this source:

if(djConfig.offlineProfile){

  
}else{
  
}

If I comment out this lines, Dojo Offline runs correctly

Note: excepted that this lines seem orphan - copy from dojox/storage/_common.js ? - I don't understand why djConfig is not yet defined while dojo.js has been previously loaded. In fact it seems that djConfig is not automatically created as it was in release 1.0.2 -> bootstrap in dojo.js has changed:

-- this code has been deleted

	if(typeof this["djConfig"] == "undefined"){
		this.djConfig = {};
	}

Sincerely,

Manu

Change History (3)

comment:1 Changed 11 years ago by Adam Peller

Priority: normalhigh

Brad, I think there was a change recently where we must now refer to djConfig as dojo.config, and we probably shouldn't modify either one.

comment:2 Changed 11 years ago by bradneuberg

Resolution: duplicate
Status: newclosed

This is a holdover from me working on bug #5959. That is fixed so this should be fixed now as well. Marking as dupe.

comment:3 Changed 11 years ago by James Burke

Bug #5959 was misquoted (trouble posting to a different trac DB). This issue is fixed in r13035

Note: See TracTickets for help on using tickets.