[ALOY-2] Mobileweb red screen on load of master_detail sample
GitHub Issue | n/a |
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2012-07-19T11:52:00.000+0000 |
Affected Version/s | 2012 Sprint 14 |
Fix Version/s | 2012 Sprint 14 |
Components | Runtime |
Labels | n/a |
Reporter | Tony Lukasavage |
Assignee | Tony Lukasavage |
Created | 2012-05-16T14:32:21.000+0000 |
Updated | 2012-07-19T11:52:00.000+0000 |
Description
The master_detail sample works as expected on android and ios, but fails immediately on mobileweb with the exception captured in the attached screenshot. Need to dig into the exception, which unfortunately gives very little information in its call stack.
Attachments
I've narrowed the exception down to the following line of code in runtime.js:
Despite the fact that the logger module exports as a function, which works fine on ios and android, mobileweb does not recognize the require() statement as a function. Commenting this line makes it work on mobilewen but obviously prevents us from using the logger. MOre investigation will need to be done to find the root of this problem.
You might ping Chris B.
details here: [https://github.com/appcelerator/ZipTi/commit/dc80be7b7e7054132688f97b782e7f21df351dce](https://github.com/appcelerator/ZipTi/commit/dc80be7b7e7054132688f97b782e7f21df351dce)