{ "id": "169163", "key": "AC-5113", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2017-07-28T15:59:27.000+0000", "created": "2017-07-28T13:39:46.000+0000", "labels": [], "versions": [], "issuelinks": [ { "id": "55488", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "151662", "key": "ALOY-1312", "fields": { "summary": "Upgrade Alloy to ES6 ", "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" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false } } } } ], "assignee": { "name": "johngoodland", "key": "johngoodland", "displayName": "John Goodland", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-07-28T16:02:19.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": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "When trying to build using the following command `ti build`, as the it runs through transforming the JS we receive the following error\r\n\r\n[ERROR] Error transforming JS file\r\n[ERROR] : Property key of ObjectProperty expected node to be of a type [\"Identifier\",\"StringLiteral\",\"NumericLiteral\"] but instead got \"BooleanLiteral\"\r\n[ERROR] Alloy compiler failed", "attachment": [], "flagged": false, "summary": "Unable to build using 'ti build' command using RC SDK 6.1.2", "creator": { "name": "ltaylor", "key": "ltaylor", "displayName": "Luke Taylor", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "ltaylor", "key": "ltaylor", "displayName": "Luke Taylor", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Operating System\r\n Name = Mac OS X\r\n Version = 10.11.6\r\nNode.js\r\n Node.js Version = 4.6.2\r\n npm Version = 2.15.11\r\nTitanium CLI\r\n CLI Version = 5.0.14\r\n node-appc Version = 0.2.41\r\nTitanium SDKs\r\n 6.1.2.v20170727160839\r\nAppc CLI\r\n 6.2.3-21", "comment": { "comments": [ { "id": "425021", "author": { "name": "johngoodland", "key": "johngoodland", "displayName": "John Goodland", "active": true, "timeZone": "America/Los_Angeles" }, "updateAuthor": { "name": "johngoodland", "key": "johngoodland", "displayName": "John Goodland", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-07-28T14:38:54.000+0000", "updated": "2017-07-28T14:38:54.000+0000" }, { "id": "425022", "author": { "name": "ltaylor", "key": "ltaylor", "displayName": "Luke Taylor", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi John, seems to be a specific file within our platform that is causing this issue. Commenting out the code from the problematic file allows the build to continue.\r\n\r\nI will try and narrow down the source of this issue and maybe provide more details around it.", "updateAuthor": { "name": "ltaylor", "key": "ltaylor", "displayName": "Luke Taylor", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-07-28T14:46:22.000+0000", "updated": "2017-07-28T14:46:22.000+0000" }, { "id": "425023", "author": { "name": "johngoodland", "key": "johngoodland", "displayName": "John Goodland", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi Luke, please keep the ticket updated with any further findings so we can continue to help.", "updateAuthor": { "name": "johngoodland", "key": "johngoodland", "displayName": "John Goodland", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-07-28T14:50:29.000+0000", "updated": "2017-07-28T14:50:29.000+0000" }, { "id": "425027", "author": { "name": "ltaylor", "key": "ltaylor", "displayName": "Luke Taylor", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Managed to track down the issue, which seems to be using the `OS_IOS` constant as a key/value name within a payload. \r\n\r\nStrange that this hasn't appeared before, as the area of code this affected hasn't changed for a couple years.\r\n\r\nThe build is now progressing past this point, so this ticket can be marked as resolved.", "updateAuthor": { "name": "ltaylor", "key": "ltaylor", "displayName": "Luke Taylor", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-07-28T15:51:22.000+0000", "updated": "2017-07-28T15:51:22.000+0000" }, { "id": "425028", "author": { "name": "johngoodland", "key": "johngoodland", "displayName": "John Goodland", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Call closed at customer request.", "updateAuthor": { "name": "johngoodland", "key": "johngoodland", "displayName": "John Goodland", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-07-28T15:55:23.000+0000", "updated": "2017-07-28T15:55:23.000+0000" }, { "id": "425029", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "This is related to our use of babel and re-doing our alloy transforms to work with that. We may be more aggressively replacing OS_* constants than we used to in Alloy, resulting in a transforming your JS object to use true/false as the property key instead of OS_IOS.", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2017-07-28T15:55:41.000+0000", "updated": "2017-07-28T15:55:41.000+0000" }, { "id": "425030", "author": { "name": "johngoodland", "key": "johngoodland", "displayName": "John Goodland", "active": true, "timeZone": "America/Los_Angeles" }, "body": "OS_IOS constant key/value name within payload. Customer reports removing this and all is ok.", "updateAuthor": { "name": "johngoodland", "key": "johngoodland", "displayName": "John Goodland", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-07-28T15:59:27.000+0000", "updated": "2017-07-28T15:59:27.000+0000" }, { "id": "425031", "author": { "name": "ltaylor", "key": "ltaylor", "displayName": "Luke Taylor", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Thanks for a bit more information around this @Christopher Williams\r\n\r\nThis will something to consider during future development.", "updateAuthor": { "name": "ltaylor", "key": "ltaylor", "displayName": "Luke Taylor", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-07-28T16:02:19.000+0000", "updated": "2017-07-28T16:02:19.000+0000" } ], "maxResults": 8, "total": 8, "startAt": 0 } } }