{ "id": "117710", "key": "AC-2552", "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": "8", "description": "", "name": "Needs more info" }, "resolutiondate": "2013-07-29T18:21:49.000+0000", "created": "2013-07-29T15:23:49.000+0000", "labels": [ "alloy", "ios", "mobile", "xml" ], "versions": [], "issuelinks": [], "assignee": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "updated": "2016-03-08T07:41:37.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": "14544", "name": "Alloy", "description": "Please enter tickets related to the Alloy here." }, { "id": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "The following Alloy view XML is causing a JavaScript error (see attached) at runtime when platform specific code is used in iOS. In this case, the XML handles MapViews for platform specific map namespaces.\r\n\r\nWORKING\r\n{code:title=Alloy View XML: Working|borderStyle=solid}\r\n\r\n\t\r\n\r\n{code}\r\n\r\nBREAKING\r\n{code:title=Alloy View XML: Breaking|borderStyle=solid}\r\n\r\n\t\r\n\r\n\r\n\t\r\n\r\n{code} ", "attachment": [ { "id": "41110", "filename": "Screen Shot 2013-07-29 at 4.01.19 PM.png", "author": { "name": "goodlime", "key": "goodlime", "displayName": "Julian Fraser", "active": true, "timeZone": "America/New_York" }, "created": "2013-07-29T15:23:49.000+0000", "size": 154719, "mimeType": "image/png" } ], "flagged": false, "summary": "Alloy platform specific XML causing JavaScript error at runtime", "creator": { "name": "goodlime", "key": "goodlime", "displayName": "Julian Fraser", "active": true, "timeZone": "America/New_York" }, "subtasks": [], "reporter": { "name": "goodlime", "key": "goodlime", "displayName": "Julian Fraser", "active": true, "timeZone": "America/New_York" }, "environment": "OS X 10.8.4\r\nMobile SDK 3.1.1 GA\r\nAlloy 1.1.3\r\nTitanium Studio 3.1.1.201306112235\r\niOS", "comment": { "comments": [ { "id": "263642", "author": { "name": "goodlime", "key": "goodlime", "displayName": "Julian Fraser", "active": true, "timeZone": "America/New_York" }, "body": "This is only occurring when adding event listeners via the XML. XML without onEvent parameter runs without issue.", "updateAuthor": { "name": "goodlime", "key": "goodlime", "displayName": "Julian Fraser", "active": true, "timeZone": "America/New_York" }, "created": "2013-07-29T15:32:07.000+0000", "updated": "2013-07-29T15:32:07.000+0000" }, { "id": "263686", "author": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi Julian,\r\n\r\nPlease can you provide a complete test case for this? Either an attached project, or the full code in the description.\r\n\r\nThanks!", "updateAuthor": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-07-29T18:21:49.000+0000", "updated": "2013-07-29T18:21:49.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }