{ "id": "117452", "key": "AC-2584", "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": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-07-22T17:26:07.000+0000", "created": "2013-07-22T16:29:16.000+0000", "labels": [], "versions": [], "issuelinks": [ { "id": "30325", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "113800", "key": "TISTUD-4525", "fields": { "summary": "Alloy .tss parser doesn't validate colors property", "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" } }, "priority": { "name": "Medium", "id": "3" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2016-03-08T07:41:39.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": "14551", "name": "Studio", "description": "Please enter tickets related to Titanium Studio here." } ], "description": "The following code inside .tss file causes syntax error, because there are object literals used as array items for the 'colors' key:\r\n\r\n{code:javascript}\r\n\"#footer\": {\r\n\tbottom: 0,\r\n\theight: '46dp',\r\n\twidth: Ti.UI.FILL,\r\n\tbackgroundGradient: {\r\n\t\ttype: \"linear\",\r\n\t\tstartPoint: { x: \"0%\", y:\"0%\"},\r\n\t\tendPoint: { x: \"0%\", y:\"100%\"},\r\n\t\tcolors: [\r\n\t\t\t{ color: \"#a00\", offset: 0.0 },\r\n\t\t\t{ color: \"#800\", offset: 1.0 }\r\n\t\t]\r\n\t}\r\n}\r\n{code} ", "attachment": [], "flagged": false, "summary": "Using objects as array items causes syntax error in .tss", "creator": { "name": "levani", "key": "levani", "displayName": "levani", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "levani", "key": "levani", "displayName": "levani", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "OSX 10.8.4, Titanium studio 3.1.1.201306112235", "comment": { "comments": [ { "id": "262676", "author": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Issue is fixed in 3.1.2 - closing as duplicate of TISTUD-4525.", "updateAuthor": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-07-22T17:26:07.000+0000", "updated": "2013-07-22T17:26:07.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }