{ "id": "130945", "key": "ALOY-1032", "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": [], "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2014-05-27T23:49:07.000+0000", "created": "2014-05-27T23:42:07.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "qe-3.2.3" ], "versions": [ { "id": "15758", "description": "Alloy 1.4.0", "name": "Alloy 1.4.0", "archived": false, "released": true, "releaseDate": "2014-07-17" }, { "id": "15759", "description": "Alloy 1.3.1", "name": "Alloy 1.3.1", "archived": false, "released": true, "releaseDate": "2014-02-10" } ], "issuelinks": [], "assignee": null, "updated": "2018-03-07T22:25:45.000+0000", "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" } }, "components": [], "description": "h5. Problem description\r\nOn Mobileweb, an Application Error is raised if using JSON.stringify and passing an object defined in the Views .xml part.\r\n\r\nh5. Steps to reproduce\r\n1. Run the following sample code on Mobileweb:\r\n{code}\r\nfunction doClick(e) { \r\n alert($.label.text);\r\n}\r\n\r\nTi.API.info('#### ' + JSON.stringify($.label)); \r\n\r\n$.index.open();\r\n{code}\r\n\r\n{code}\r\n\r\n\t\r\n\t\t\r\n\t\r\n\r\n{code}\r\n\r\nResult: Application Error when running the app. Error message: \"Uncaught TypeError: Converting circular structure to JSON at /index.html (line 37)\". See screenshot attached.\r\n\r\nNot reproducible on iOS and Android. \r\nReproducible with TiSDK 3.2.3.GA / Alloy 1.3.1.GA , so not a regression.", "attachment": [ { "id": "48408", "filename": "Screen Shot 2014-05-27 at 4.25.42 PM.png", "author": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-05-27T23:43:45.000+0000", "size": 15021, "mimeType": "image/png" } ], "flagged": false, "summary": "Mobileweb: Application Error using JSON.stringify on a UI object", "creator": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "TiSDK 3.3.0.v20140524224144 and TiSDK 3.2.3.GA\r\nAlloy 1.4.0-alpha4 and 1.3.1.GA\r\nAppcelerator Studio 3.3.0.201405211748\r\nCLI 3.3.0-alpha5 and 3.2.3.GA", "comment": { "comments": [], "maxResults": 1, "total": 1, "startAt": 0 } } }