[TIMOB-6511] Android: V8: Some 3rd party modules don't correctly load
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Critical |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2012-01-04T16:45:17.000+0000 |
| Affected Version/s | Release 1.8.0.1 |
| Fix Version/s | Sprint 2011-49, Release 1.8.0.1 |
| Components | Android |
| Labels | branch-v8, module_module, qe-testadded, verified-1.8.0.1 |
| Reporter | Marshall Culpepper |
| Assignee | Marshall Culpepper |
| Created | 2011-12-07T20:49:58.000+0000 |
| Updated | 2012-01-04T16:45:17.000+0000 |
Description
Some modules (such as omniture) don't correctly return their module instance. To reproduce:
- Build the omniture module
- Build and package an app that require()s it, i.e:
var omniture = require('ti.omniture');
Ti.API.debug('omniture=' + omniture);
<ti:app>
...
<modules>
<module>ti.omniture</module>
</modules>
</ti:app>
The value that's printed is "omniture=undefined"
Note: Currently, ant build omniture module throws build error. Check http://wiki.appcelerator.org/display/mds/Android+Module+Porting+Dashboard for status of omniture.
Closing bug. Verified fix on: SDK build: 1.8.0.1.RC3 Runtime: V8 Titanium Studio, build: 1.0.7.201112152014 OS: Mac OS X Lion Device: Nexus S (2.3.6)
Reopening for label addition/removal