{ "id": "173026", "key": "TIMOB-26846", "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": null, "resolutiondate": null, "created": "2019-02-20T09:46:12.000+0000", "priority": null, "labels": [ "engSchedule" ], "versions": [ { "id": "19882", "name": "Release 8.0.0", "archived": false, "released": true, "releaseDate": "2019-03-14" }, { "id": "20791", "name": "Release 8.0.2", "archived": false, "released": true, "releaseDate": "2019-06-18" } ], "issuelinks": [], "assignee": { "name": "amukherjee", "key": "amukherjee", "displayName": "Abir Mukherjee", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2021-02-19T14:07:14.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [], "description": "on iOS specifying a commonJS module as ns causes the following error: \r\n\r\n{code}\r\n[ERROR] Failed to load Alloy widget / CommonJS module \"XPUI.Label\" to be used as template\r\n[ERROR] Error: Invalid item template type provided\r\n[ERROR] File: app.js\r\n[ERROR] Line: 51\r\n[ERROR] SourceId: \r\n[ERROR] Backtrace:\r\n[ERROR] undefined\r\n{code}\r\n\r\nwhile in Android it works as expected.\r\n\r\nsample project provided", "attachment": [ { "id": "66175", "filename": "alloy-template-issue-ios.zip", "author": { "name": "bgarcia", "key": "bgarcia", "displayName": "Brian García", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-02-20T09:45:47.000+0000", "size": 715627, "mimeType": "application/zip" } ], "flagged": false, "summary": "iOS - ListView with commonJS element in template does not work", "creator": { "name": "bgarcia", "key": "bgarcia", "displayName": "Brian García", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "bgarcia", "key": "bgarcia", "displayName": "Brian García", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Operating System\r\n Name = Mac OS X\r\n Version = 10.14\r\n Architecture = 64bit\r\n # CPUs = 8\r\n Memory = 17179869184\r\n\r\nNode.js\r\n Node.js Version = 10.14.1\r\n npm Version = 6.8.0\r\n\r\nTitanium CLI\r\n CLI Version = 5.1.1\r\n\r\nTitanium SDK\r\n SDK Version = 8.0.0.v20190117115226", "comment": { "comments": [ { "id": "446231", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, I was able to reproduce the issue with the sample project provided above. Tested in iOS with SDK 8.0.0.v20190219113758. The issue was in iOS, not in Android. Thanks.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2019-02-21T18:51:54.000+0000", "updated": "2019-02-21T18:51:54.000+0000" }, { "id": "450031", "author": { "name": "bgarcia", "key": "bgarcia", "displayName": "Brian García", "active": true, "timeZone": "America/Los_Angeles" }, "body": "any update on this?", "updateAuthor": { "name": "bgarcia", "key": "bgarcia", "displayName": "Brian García", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-07-24T11:17:07.000+0000", "updated": "2019-07-24T11:17:07.000+0000" }, { "id": "452479", "author": { "name": "bgarcia", "key": "bgarcia", "displayName": "Brian García", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Still happening in 8.2.0.GA, any solution?", "updateAuthor": { "name": "bgarcia", "key": "bgarcia", "displayName": "Brian García", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-11-05T20:40:15.000+0000", "updated": "2019-11-05T20:40:15.000+0000" }, { "id": "458277", "author": { "name": "bgarcia", "key": "bgarcia", "displayName": "Brian García", "active": true, "timeZone": "America/Los_Angeles" }, "body": "And a year later, still here", "updateAuthor": { "name": "bgarcia", "key": "bgarcia", "displayName": "Brian García", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2021-02-19T14:07:14.000+0000", "updated": "2021-02-19T14:07:14.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }