Ticket #7280 (closed defect: wontfix)
Error: Bundle not found: loading in dijit , locale=en' when calling method: [nsIDOMEventListener::handleEvent]" nsresult: "0x8057001c (NS_ERROR_XPC_JS_THREW_JS_OBJECT)" location: "<unknown>" data: no]
| Reported by: | httpete | Owned by: | peller |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.3 |
| Component: | Dijit | Version: | 1.1.1 |
| Severity: | normal | Keywords: | nls |
| Cc: | jburke |
Description
This seems like #6950, but I can tell you that it only happens on my built version of dojo in FF3. I think that because FF3 is so fast it exposes a load ordering issue surrounding the nls files. If you inspect in firebug, the en-us.js file is included AFTER the built layer file. If I explicitly do this in the head it fixes this. The bundles need to be loaded BEFORE the custom dojo / dijit built file. If I refresh the page, this error goes away, it is only when the cache is cleared and it is pullin these files down for the first time.
<script type="text/javascript" src="js/dojo-release-{$gq_version}/dojo/dojo/dojo.js"></script> <script type="text/javascript" src="js/dojo-release-{$gq_version}/dojo/dojo/nls/gqdojo_en-us.js"></script> <script type="text/javascript" src="js/dojo-release-{$gq_version}/dojo/dojo/gqdojo.js"></script>