[TIMOB-24204] Android: require() not working with Android if path has ../ after Titanium SDK 6.0.0+
| GitHub Issue | n/a | 
|---|---|
| Type | Bug | 
| Priority | Critical | 
| Status | Closed | 
| Resolution | Fixed | 
| Resolution Date | 2017-01-20T17:35:38.000+0000 | 
| Affected Version/s | n/a | 
| Fix Version/s | Release 6.1.0, Release 6.0.1 | 
| Components | Android | 
| Labels | android, hyperloop, nodejs, qe-6.1.0, regression | 
| Reporter | Hazem Khaled | 
| Assignee | Gary Mathews | 
| Created | 2016-12-08T17:02:23.000+0000 | 
| Updated | 2017-01-20T17:35:44.000+0000 | 
Description
	Hi,
basecontroller with ../ was working till Titanium SDK 6, not it's working only with --liveview, so app not working on the production build.
error code
exports.baseController = '../widgets/nl.fokkezb.form/controllers/field';
more info and workaround
https://github.com/FokkeZB/nl.fokkezb.form/issues/34
I think it's related to TIMOB-24011 or TIMOB-16078
Hello, Can you attach a sample project, so we can verify the issue in SDK 6.0.0.GA? Thanks.
I hope this one can help, otherwise i'll write another simple example https://github.com/fokkezb/nl.fokkezb.form/tree/test @Brenton i think it's, while mine working only with liveview, but not working without
master: https://github.com/appcelerator/titanium_mobile/pull/8672 6_0_X: https://github.com/appcelerator/titanium_mobile/pull/8673
Verified as fixed require() now works with paths that contain
../. Tested on: {noformat} macOS Sierra 10.12.1 Nexus 5X (6.0.1) Nexus 6p (7.0) android emulator (4.4.2, 6.0) Ti SDK: 6.0.1.v20161212020144 Appc NPM: 4.2.8 App CLI: 6.0.0 Node v4.6.0 {noformat} *Closing Ticket.*Reopening to add version and to allow back port.
Reopened in error. Closing.