{ "id": "171976", "key": "TIMOB-26241", "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": "20222", "name": "Hyperloop 3.1.1", "archived": false, "released": true } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2018-07-27T14:34:33.000+0000", "created": "2018-07-27T11:06:21.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [], "versions": [ { "id": "19975", "name": "Hyperloop 3.1.0", "archived": false, "released": true } ], "issuelinks": [], "assignee": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2018-07-27T14:34:33.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "When using Hyperloop 3.1.0, the following build error occurs on the hyperloop-examples app:\r\n{code}\r\n\r\n/Users/hknoechel/Documents/Apps/hyperloop-examples/modules/iphone/hyperloop/3.1.0/hooks/generate/util.js:308\r\n\t\t\tif (isPrimitive(type) || value.indexOf('*') > 0) {\r\n ^\r\nTypeError: Cannot read property 'indexOf' of undefined\r\n at getResultWrapper (/Users/hknoechel/Documents/Apps/hyperloop-examples/modules/iphone/hyperloop/3.1.0/hooks/generate/util.js:308:35)\r\n at generatePropGetter (/Users/hknoechel/Documents/Apps/hyperloop-examples/modules/iphone/hyperloop/3.1.0/hooks/generate/util.js:631:16)\r\n at Object.generateProp (/Users/hknoechel/Documents/Apps/hyperloop-examples/modules/iphone/hyperloop/3.1.0/hooks/generate/util.js:655:18)\r\n at /Users/hknoechel/Documents/Apps/hyperloop-examples/modules/iphone/hyperloop/3.1.0/hooks/generate/class.js:36:16\r\n at Array.forEach ()\r\n at makeClass (/Users/hknoechel/Documents/Apps/hyperloop-examples/modules/iphone/hyperloop/3.1.0/hooks/generate/class.js:26:55)\r\n at Object.generate (/Users/hknoechel/Documents/Apps/hyperloop-examples/modules/iphone/hyperloop/3.1.0/hooks/generate/class.js:132:9)\r\n at /Users/hknoechel/Documents/Apps/hyperloop-examples/modules/iphone/hyperloop/3.1.0/hooks/generate/index.js:244:36\r\n at Array.forEach ()\r\n at /Users/hknoechel/Documents/Apps/hyperloop-examples/modules/iphone/hyperloop/3.1.0/hooks/generate/index.js:224:29\r\n{code}\r\n\r\nThis does not happen with 3.0.5", "attachment": [], "flagged": false, "summary": "Hyperloop: iOS - Build error because of duplicate builtins in 3.1.0", "creator": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "environment": null, "comment": { "comments": [ { "id": "439534", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "The cause was a duplicated entry of the {{userAgent}} property that is part of our {{TiApp}} builtin. \r\n\r\nPR (master): https://github.com/appcelerator/hyperloop.next/pull/295\r\nPR (3_1_X): https://github.com/appcelerator/hyperloop.next/pull/296", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2018-07-27T11:23:54.000+0000", "updated": "2018-07-27T13:44:14.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }