{ "id": "164933", "key": "TIMOB-24204", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "17608", "name": "Release 6.1.0", "archived": false, "released": true, "releaseDate": "2017-05-26" }, { "id": "18154", "name": "Release 6.0.1", "archived": false, "released": true, "releaseDate": "2016-12-21" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2017-01-20T17:35:38.000+0000", "created": "2016-12-08T17:02:23.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "android", "hyperloop", "nodejs", "qe-6.1.0", "regression" ], "versions": [], "issuelinks": [], "assignee": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-01-20T17:35:44.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "Hi,\r\nbasecontroller with ../ was working till Titanium SDK 6, not it's working only with --liveview, so app not working on the production build.\r\n\r\nerror code\r\n{code:javascript}\r\nexports.baseController = '../widgets/nl.fokkezb.form/controllers/field';\r\n{code}\r\n\r\nmore info and workaround\r\nhttps://github.com/FokkeZB/nl.fokkezb.form/issues/34\r\n\r\nI think it's related to TIMOB-24011 or TIMOB-16078", "attachment": [], "flagged": false, "summary": "Android: require() not working with Android if path has ../ after Titanium SDK 6.0.0+", "creator": { "name": "hazemkhaled", "key": "hazemkhaled", "displayName": "Hazem Khaled", "active": true, "timeZone": "Europe/Istanbul" }, "subtasks": [], "reporter": { "name": "hazemkhaled", "key": "hazemkhaled", "displayName": "Hazem Khaled", "active": true, "timeZone": "Europe/Istanbul" }, "environment": "Titanium 6.0.0.GA\r\nAndroid 5 & 6", "closedSprints": [ { "id": 770, "state": "closed", "name": "2016 Sprint 25 SDK", "startDate": "2016-12-03T01:53:07.491Z", "endDate": "2016-12-17T01:53:00.000Z", "completeDate": "2016-12-21T03:19:43.884Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "403005", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, Can you attach a sample project, so we can verify the issue in SDK 6.0.0.GA? Thanks.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2016-12-08T19:04:40.000+0000", "updated": "2016-12-08T19:05:08.000+0000" }, { "id": "403007", "author": { "name": "brentonhouse", "key": "brentonhouse", "displayName": "Brenton House", "active": true, "timeZone": "America/Chicago" }, "updateAuthor": { "name": "brentonhouse", "key": "brentonhouse", "displayName": "Brenton House", "active": true, "timeZone": "America/Chicago" }, "created": "2016-12-08T19:18:48.000+0000", "updated": "2016-12-08T19:18:48.000+0000" }, { "id": "403022", "author": { "name": "hazemkhaled", "key": "hazemkhaled", "displayName": "Hazem Khaled", "active": true, "timeZone": "Europe/Istanbul" }, "body": "I hope this one can help, otherwise i'll write another simple example\r\nhttps://github.com/fokkezb/nl.fokkezb.form/tree/test\r\n\r\n@Brenton i think it's, while mine working only with liveview, but not working without", "updateAuthor": { "name": "hazemkhaled", "key": "hazemkhaled", "displayName": "Hazem Khaled", "active": true, "timeZone": "Europe/Istanbul" }, "created": "2016-12-08T21:56:30.000+0000", "updated": "2016-12-08T21:56:30.000+0000" }, { "id": "403111", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "master: https://github.com/appcelerator/titanium_mobile/pull/8672\r\n6_0_X: https://github.com/appcelerator/titanium_mobile/pull/8673", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-12-09T22:17:20.000+0000", "updated": "2016-12-09T22:26:39.000+0000" }, { "id": "403191", "author": { "name": "jlongton", "key": "jlongton", "displayName": "Josh Longton", "active": true, "timeZone": "Europe/London" }, "body": "Verified as fixed require() now works with paths that contain {{../}}.\r\nTested on:\r\n\r\n{noformat}\r\nmacOS Sierra 10.12.1\r\nNexus 5X (6.0.1)\r\nNexus 6p (7.0)\r\nandroid emulator (4.4.2, 6.0)\r\nTi SDK: 6.0.1.v20161212020144\r\nAppc NPM: 4.2.8\r\nApp CLI: 6.0.0\r\nNode v4.6.0\r\n{noformat}\r\n\r\n*Closing Ticket.*", "updateAuthor": { "name": "jlongton", "key": "jlongton", "displayName": "Josh Longton", "active": true, "timeZone": "Europe/London" }, "created": "2016-12-12T18:08:55.000+0000", "updated": "2016-12-12T18:08:55.000+0000" }, { "id": "404943", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Reopening to add version and to allow back port.", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-01-20T17:17:16.000+0000", "updated": "2017-01-20T17:17:16.000+0000" }, { "id": "404946", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Reopened in error. Closing.", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-01-20T17:35:38.000+0000", "updated": "2017-01-20T17:35:38.000+0000" } ], "maxResults": 8, "total": 8, "startAt": 0 } } }