{ "id": "108124", "key": "ALOY-474", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "11113", "key": "ALOY", "name": "Alloy", "projectCategory": { "id": "10400", "description": "Tools for developing applications", "name": "Tooling" } }, "fixVersions": [ { "id": "15103", "description": "Alloy 0.3.6", "name": "Alloy 0.3.6", "archived": false, "released": true, "releaseDate": "2013-01-19" }, { "id": "14871", "description": "2013 Sprint 02", "name": "2013 Sprint 02", "archived": true, "released": true, "releaseDate": "2013-01-28" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-08-06T21:56:48.000+0000", "created": "2013-01-18T14:24:07.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "alloy", "qe-3.0.2", "qe-Alloy", "qe-manualtest", "regression" ], "versions": [ { "id": "14771", "description": "Alloy 0.3.5", "name": "Alloy 0.3.5", "archived": false, "released": true, "releaseDate": "2013-01-18" } ], "issuelinks": [ { "id": "24713", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "101248", "key": "ALOY-272", "fields": { "summary": "Grammar for TSS files", "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": "7", "description": "gh.issue.story.desc", "name": "Story", "subtask": false } } } } ], "assignee": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-08-06T21:56:48.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": "12326", "name": "XML", "description": "View XML and parsing" } ], "description": "With alloy 0.3.5, there is a regression where any .tss files with unnecessary commas will fail to build.\r\n\r\nThis breaks many customer apps and requires a manual edit of hundreds of lines of code.\r\n\r\nSample code (note the comma after 'height'):\r\n\r\n{code}\r\n\"Window\":{\r\n backgroundColor: '#666',\r\n width: Ti.UI.FILL,\r\n height: Ti.UI.FILL,\r\n},\r\n{code}\r\n\r\nSample Error (based on comma after 'height' property):\r\n\r\n{code}\r\n[ERROR] : [ERROR] Error processing style \"/Users/dhyde/Downloads/21st-Century-Insurance/app/styles/contactUs/addContact.tss\"\r\n[ERROR] : [ERROR] Expected bare word, comment, end of line, string or whitespace but \"}\" found.\r\n[ERROR] : [ERROR] Do you have an extra comma in your style definition?\r\n[ERROR] : [ERROR] - line: 9\r\n[ERROR] : [ERROR] - column: 1\r\n[ERROR] : [ERROR] - offset: 142\r\n[ERROR] : Alloy compiler failed\r\n{code}", "attachment": [], "flagged": false, "summary": "TSS: allow extra commas in parser", "creator": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Alloy 0.3.5", "comment": { "comments": [ { "id": "234987", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified fixed in the following environment:\r\n\r\nalloy: 0.3.6\r\nandroid emulator: 2.3.3\r\ntitanium sdk: 3.0.0.GA\r\ntitanium cli: 3.0.22", "updateAuthor": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-01-18T16:23:41.000+0000", "updated": "2013-01-18T16:24:28.000+0000" }, { "id": "234990", "author": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Updated the TSS parsing grammar to allow looser use of commas, regenerated the grammar-based parser, and modified the testing/grammar test app with extra commas to make sure that the parser handles them correctly. \r\n\r\nReleasing 0.3.6 from the 0_3_X branch to cover this fix. Will add to the 1_0_X/master branch as well. ", "updateAuthor": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-01-18T16:29:16.000+0000", "updated": "2013-01-18T16:29:16.000+0000" }, { "id": "236070", "author": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified fixed also on 1_0_X master branch\nandroid device: 4.2\niPhone devices: iPhone 6 and iPad 4.3.5\nTiSDK: 3.0.2.v20130124164131\nCLI: 3.0.23\n\nClosing.", "updateAuthor": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-01-26T00:06:35.000+0000", "updated": "2013-01-26T00:06:35.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }