{ "id": "99169", "key": "TIMOB-12446", "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": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2016-08-19T04:43:12.000+0000", "created": "2012-08-14T05:22:08.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "android", "distribute" ], "versions": [], "issuelinks": [], "assignee": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-23T21:32:36.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": [], "description": "h1. Problem Description\r\n\r\nWhen distributing to app store (google play), compilation fails with several false syntax errors.\r\n\r\nthe project runs without errors on normal emulator/install to device runs\r\n\r\nAttached: The console output from the build, and the file 'm.js' that triggers the errors\r\n\r\nHere is some sample errors:\r\n\r\n{code}\r\nError:\r\n[ERROR] /home/esm/Documents/Dropbox/Titanium Studio Workspace/BuddyShop/build/android/bin/assets/Resources/m/m.js:161: ERROR - Parse error. missing name after . operator\r\n\tM.long = function(flt) {\r\n{code}\r\n\r\nIt's a straight forward function declaration that looks like this:\r\n\r\n{code}\r\n\tM.long = function(flt) {\r\n\t\treturn M.screen.getLong(flt)\r\n\t}\r\n{code}\r\n\r\nThere are other types. All of them are marked as syntax errors, none of them really are\r\n\r\nThis prevents me from publishing, and that's very serious - so I marked this ticket 'critical'\r\n\r\n", "attachment": [ { "id": "30476", "filename": "distribute_build_errors.txt", "author": { "name": "acebone", "key": "acebone", "displayName": "Esben Maaløe", "active": true, "timeZone": "Europe/Berlin" }, "created": "2012-08-14T05:22:08.000+0000", "size": 42920, "mimeType": "text/plain" }, { "id": "30475", "filename": "m.js", "author": { "name": "acebone", "key": "acebone", "displayName": "Esben Maaløe", "active": true, "timeZone": "Europe/Berlin" }, "created": "2012-08-14T05:22:08.000+0000", "size": 8104, "mimeType": "application/javascript" } ], "flagged": false, "summary": "Android: Distribution fails with false syntax errors", "creator": { "name": "acebone", "key": "acebone", "displayName": "Esben Maaløe", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "acebone", "key": "acebone", "displayName": "Esben Maaløe", "active": true, "timeZone": "Europe/Berlin" }, "environment": "TiSDK 2.1.1GA\r\nAndroid", "comment": { "comments": [ { "id": "215158", "author": { "name": "acebone", "key": "acebone", "displayName": "Esben Maaløe", "active": true, "timeZone": "Europe/Berlin" }, "body": "It might be worth noting that 'long' and 'short' are reserved words - these are the two first errors.\r\n\r\nBut there should not be such a huge difference between valid code during development and valid code for packaging.", "updateAuthor": { "name": "acebone", "key": "acebone", "displayName": "Esben Maaløe", "active": true, "timeZone": "Europe/Berlin" }, "created": "2012-08-20T11:03:11.000+0000", "updated": "2012-08-20T11:03:11.000+0000" }, { "id": "393576", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "This ticket is very old, doesn't include a reproducible test case, and most likely isn't an issue with Titanium. Resolving as invalid. Feel free to reopen if there's a real issue.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2016-08-19T04:43:12.000+0000", "updated": "2016-08-19T04:43:12.000+0000" }, { "id": "415398", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as invalid with reference to the previous comments.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-23T21:32:36.000+0000", "updated": "2017-03-23T21:32:36.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }