Opened 9 years ago
Closed 8 years ago
#14496 closed defect (wontfix)
Mobile app view-resources module not loading
Reported by: | Eric Poulin | Owned by: | cjolif |
---|---|---|---|
Priority: | high | Milestone: | tbd |
Component: | DojoX Mobile | Version: | 1.7.1 |
Keywords: | mobile view-resources module | Cc: | [email protected]… |
Blocked By: | Blocking: |
Description
When creating the view-resources.json file as part of a dojox.mobile.app, such as:
[
{
scene: "forgot-password", module: "dojo.io.script"
}, {
scene: "sign-up", module: "dojo.io.script"
}, {
scene: "login", module: "dojo.io.script"
}
]
There are 2 problems. 1) In the console, the loader is trying to load dojo/io/script/.js There's a problem in /dojox/mobile/app/_base.js.uncompressed.js line 59 for me... Code is:
url= dojo.moduleUrl(resource.module)+".js";
but needs to be something like:
url= dojo.moduleUrl(resource.module).substring(0,dojo.moduleUrl(resource.module).length-1)+".js";
2) When I make the above correction, the dojo/io/script.js is loaded and initialScene is successfully loaded, but, an error occurs:
Error: multipleDefine https://localhost/Budget/dojo/dojo/dojo.js.uncompressed.js Line 119
I can only assume this means the dojo/io/script.js is being loaded separately for each scene?
Change History (4)
comment:1 Changed 9 years ago by
comment:2 Changed 9 years ago by
Owner: | changed from ykami to Shane O'Sullivan |
---|---|
Status: | new → assigned |
Maybe you may want to consider dojox.app, which is going to replace dojox.mobile.app?
comment:3 Changed 8 years ago by
Owner: | changed from Shane O'Sullivan to cjolif |
---|
Shane is unavailable to work on Dojo issues at this time. Christophe, can you please determine who this one should go to?
comment:4 Changed 8 years ago by
Resolution: | → wontfix |
---|---|
Status: | assigned → closed |
I'm afraid nobody is working on dojox/mobile/app anymore, going forward you should use dojox/app instead as this is the application module that is currently maintained. Or submit a patch yourself.
Also - most of the mobile app demos generate 404 errors when trying to load view-resources, but there isn't one. Perhaps the demos should provide the view-resources as a better example.