{ "id": "169904", "key": "TIMOB-25349", "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": [], "resolution": { "id": "2", "description": "The problem described is an issue which will never be fixed.", "name": "Won't Fix" }, "resolutiondate": "2018-11-14T15:59:15.000+0000", "created": "2017-09-26T13:18:51.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [], "versions": [ { "id": "17609", "description": "", "name": "Release 7.0.0", "archived": false, "released": true, "releaseDate": "2017-12-07" }, { "id": "19906", "description": "", "name": "Release 6.3.0", "archived": false, "released": true, "releaseDate": "2017-11-01" }, { "id": "19542", "description": "", "name": "Release 6.2.2", "archived": false, "released": true, "releaseDate": "2017-09-19" } ], "issuelinks": [], "assignee": { "name": "ybanev", "key": "ybanev", "displayName": "Yordan Banev", "active": true, "timeZone": "Europe/Athens" }, "updated": "2018-11-14T15:59:15.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": "h5.Description\r\n\r\nWhen requiring a file if the file doesn't have a correct extension (.js, .json) then the file will not be able to be loaded. For example when having a file test.test and explicitly requiring 'test.test' I would expect (based off other platforms and node.js behaviour) there to be no error.\r\n\r\nh5.Steps to reproduce\r\n\r\n# Create a file under resources called {{test.test}} with the contents {{exports.foo = 'bar';}}\r\n# Add {{alert(require('./test.test').foo);}} to your app.js\r\n\r\nh5.Actual\r\n\r\nUnable to find module\r\n\r\nh5.Expected\r\n\r\nAn alert with 'foo' should show", "attachment": [], "flagged": false, "summary": "Android: Unable to require a file without a correct extension", "creator": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "subtasks": [], "reporter": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "environment": "Ti SDK: 6.2.2.GA, 6.3.0.v20170925234416, 7.0.0.v20170925235044", "comment": { "comments": [ { "id": "439090", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "Apologies for missing your ping [~ybanev]\r\nI guess not, I'd be fine closing this as wont fix, I can't remember why I filed it (I think something mocha-suite related), so it can't be that important :) But i'll let you, Gary, and Josh decided the fate :)", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2018-07-10T13:30:50.000+0000", "updated": "2018-07-10T13:30:50.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }