Opened 12 years ago

Closed 10 years ago

#10700 closed defect (worksforme)

dojo.moduleUrl bug

Reported by: ben hockey Owned by: ben hockey
Priority: low Milestone: future
Component: Loader Version: 1.4.0
Keywords: Cc:
Blocked By: Blocking:


dojo.moduleUrl is giving the wrong output for custom module paths

dojo.registerModulePath('foo', '../../foo');
console.log(dojo.moduleUrl('foo', 'bar').toString());

try the above using the firebug console at and the output will be


the issue is unrelated to the test page - i just picked an arbitrary public page which has dojo enabled.

Change History (6)

comment:1 Changed 12 years ago by ben hockey

comment:2 Changed 12 years ago by James Burke

Milestone: tbd1.6

comment:3 Changed 12 years ago by James Burke

Owner: changed from anonymous to James Burke

comment:4 Changed 11 years ago by bill

Milestone: 1.6future

(sadly) punting seemingly abandoned ticket and meta tickets to future

comment:5 Changed 10 years ago by bill

Component: CoreLoader
Owner: changed from James Burke to ben hockey
Status: newpending

I tried this against and it's printing out ../../../foo/, same as for 1.1 and 1.7.

Seems to be working for me, even against the version you specified. Is there something I missed?

Version 0, edited 10 years ago by bill (next)

comment:6 Changed 10 years ago by ben hockey

Priority: highlow
Resolution: worksforme
Status: pendingclosed

i can't seem to reproduce anything now and amd deprecates most of this.

Note: See TracTickets for help on using tickets.