{ "id": "126037", "key": "ALOY-951", "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": "15758", "description": "Alloy 1.4.0", "name": "Alloy 1.4.0", "archived": false, "released": true, "releaseDate": "2014-07-17" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-02-07T15:59:53.000+0000", "created": "2014-02-06T20:33:26.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "qe-testadded" ], "versions": [ { "id": "15403", "description": "Alloy 1.3.0", "name": "Alloy 1.3.0", "archived": false, "released": true, "releaseDate": "2013-12-20" } ], "issuelinks": [], "assignee": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "updated": "2014-06-22T13:21:19.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": "13610", "name": "Builtins", "description": "Builtin Javascript libraries" } ], "description": "Description:\r\n\r\nAfter the Twitter authorization box is displayed, click its \"X\" button to close. Then, tap Back to exit the app. Android displays an error:\r\n\r\nCannot set property `value` of `null`\r\n\r\nCause is (approx) line 377 of social.js:\r\n\r\n{{loading = !0, loadingView.value = 0, estimateID = firstLoad ? ...}}\r\n\r\nChanging to the following fixes the issue:\r\n\r\n{{loading = !0, loadingView && (loadingView.value = 0), estimateID = firstLoad ? ...}}", "attachment": [ { "id": "45667", "filename": "app.zip", "author": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "created": "2014-02-06T20:44:43.000+0000", "size": 5901229, "mimeType": "application/zip" } ], "flagged": false, "summary": "Social.js builtin: throws JS error after canceling authorization", "creator": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "subtasks": [], "reporter": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "environment": "Alloy 1.3.0 GA, 1.3.1-cr3\r\nSDK 3.2.0.GA\r\nAndroid Genymotion 4.2.2 API 17", "comment": { "comments": [ { "id": "291737", "author": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "body": "Sample project attached", "updateAuthor": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "created": "2014-02-06T20:44:43.000+0000", "updated": "2014-02-06T20:44:43.000+0000" }, { "id": "291743", "author": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "body": "PR: https://github.com/appcelerator/alloy/pull/332\n\nFunctional test:\n\n1) Create a new project\n2) Replace its app folder with the attached.\n3) Update controllers/index.js with valid Twitter API consumer secret and consumer key values\n4) Build for Android\n5) Enter a message in the text box and tap Tweet\n6) Tap the \"X\" button to cancel the authorization\n7) Tap Back to exit the app. You should not get the code error\n\n(You do get the authorization screen again. I'm not sure if that's the expected flow. In any case, it's not something addressed by or related to this ticket)", "updateAuthor": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "created": "2014-02-06T20:54:25.000+0000", "updated": "2014-02-06T20:54:25.000+0000" }, { "id": "291910", "author": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "body": "Resolved, see functional test in preceding comment", "updateAuthor": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "created": "2014-02-07T15:59:53.000+0000", "updated": "2014-02-07T15:59:53.000+0000" }, { "id": "304866", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix. We do not get JS error after canceling authorization.\r\n\r\nClosing.\r\n\r\nEnvironment:\r\nAppc Studio : 3.3.0.201405121247\r\nTi SDK : 3.3.0.v20140513191712\r\nMac OSX : 10.8.5\r\nAlloy : 1.4.0-dev\r\nCLI - 3.3.0-dev\r\nNexus 5 - android 4.4.2", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-05-14T21:50:00.000+0000", "updated": "2014-05-14T21:50:00.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }