Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#6096 closed defect (duplicate)

Could not load 'dojo.data.ItemFileReadStore' ; last tried ./data/ItemFilereadStore.js

Reported by: guest Owned by: anonymous
Priority: high Milestone:
Component: General Version: 1.0
Keywords: could not load Cc: ssundaram@…, astarink@…
Blocked By: Blocking:

Description

Browser Type: IE Browser Version: 7.0 OS: Cent OS OS Version: 4.5 DOJO release: 1.0.2

In my code I am using dojo.require. For every dojo.require(modulename), I get the following error:

Could not load <modulename>; last tried modulename.js

For example, I am using dojo.require('dojo.data.ItemFileReadStore?'); So, I am getting: Could not load 'dojo.data.ItemFileReadStore?' ; last tried ./data/ItemFilereadStore.js.

I found the following line in dojo.js.uncompressed.js (line:375) throws the exception: missing ';'.

var value = deval?(contents+" @ sourceURL="+uri);

I just removed the comment part " @ sourceURL="+uri); to change to var value = deval?(contents);

After the change, it works fine. Firefox does not complain this eorr.

Ticket #5901 refers this same problem but I see that the ticket is closed with no resolution mentioned.

Change History (2)

comment:1 Changed 11 years ago by dante

Resolution: duplicate
Status: newclosed

comment:2 Changed 11 years ago by Adam Peller

we'll need a reproducible case to solve this. please attach to and reopen 5901 if you have one. thanks!

Note: See TracTickets for help on using tickets.