{ "id": "113987", "key": "TIMOB-14213", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "15972", "description": "Release 3.4.0", "name": "Release 3.4.0", "archived": false, "released": true, "releaseDate": "2014-09-28" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-06-18T00:12:27.000+0000", "created": "2013-05-08T10:46:31.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "android", "debounce", "module_exceptions", "qe-manualtest", "qe-testadded", "supportTeam", "throttle", "underscore" ], "versions": [ { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" } ], "issuelinks": [ { "id": "35758", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "109639", "key": "AC-2359", "fields": { "summary": "Android: clearTimeout throws an exception if the variable passed in is null or undefined", "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" } }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "sunila", "key": "sunila", "displayName": "Sunila", "active": true, "timeZone": "Asia/Kolkata" }, "updated": "2014-08-19T05:54:44.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": "10202", "name": "Android", "description": "Android Platform" } ], "attachment": [], "flagged": false, "summary": "Android: Exception thrown when using Underscore debounce", "creator": { "name": "rowan", "key": "rowan", "displayName": "rowan smith", "active": true, "timeZone": "Europe/London" }, "subtasks": [], "reporter": { "name": "rowan", "key": "rowan", "displayName": "rowan smith", "active": true, "timeZone": "Europe/London" }, "environment": "android 2.2 emulator\r\nAlloy 1.1.2\r\nTitanium 3.1.0\r\nOS X 10.8.3", "closedSprints": [ { "id": 105, "state": "closed", "name": "2014 Sprint 11 SDK", "startDate": "2014-05-27T21:43:32.338Z", "endDate": "2014-06-07T00:00:00.000Z", "completeDate": "2014-06-09T21:36:37.587Z", "originBoardId": 114 }, { "id": 121, "state": "closed", "name": "2014 Sprint 12 SDK", "startDate": "2014-06-09T21:51:17.043Z", "endDate": "2014-06-21T00:00:00.000Z", "completeDate": "2014-06-23T16:52:29.621Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "250774", "author": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "body": "To be clear, this is only an issue with android? Does the function behave as expected on iOS or other platforms?", "updateAuthor": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-05-08T13:08:36.000+0000", "updated": "2013-05-08T13:08:36.000+0000" }, { "id": "250775", "author": { "name": "rowan", "key": "rowan", "displayName": "rowan smith", "active": true, "timeZone": "Europe/London" }, "body": "I have not tried any other builds.", "updateAuthor": { "name": "rowan", "key": "rowan", "displayName": "rowan smith", "active": true, "timeZone": "Europe/London" }, "created": "2013-05-08T13:13:36.000+0000", "updated": "2013-05-08T13:13:36.000+0000" }, { "id": "250776", "author": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "body": "If possible, can you verify whether or not it occurs on iOS?", "updateAuthor": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-05-08T13:19:56.000+0000", "updated": "2013-05-08T13:19:56.000+0000" }, { "id": "250780", "author": { "name": "rowan", "key": "rowan", "displayName": "rowan smith", "active": true, "timeZone": "Europe/London" }, "body": "I can confirm that it runs as expected on the iphone simulator", "updateAuthor": { "name": "rowan", "key": "rowan", "displayName": "rowan smith", "active": true, "timeZone": "Europe/London" }, "created": "2013-05-08T13:55:25.000+0000", "updated": "2013-05-08T13:55:25.000+0000" }, { "id": "272092", "author": { "name": "matt_m", "key": "matt_m", "displayName": "Matt Moskal", "active": true, "timeZone": "America/New_York" }, "body": "This issue should be resolved. Debounce() is a useful Underscore function for buttons within apps, particularly buttons that open new windows, where Titanium often hesitates and an app user may click a button a second time (hence now opening two new windows). It makes no sense that debounce() works in iOS and not Android. All Underscore and Backbone functions should be supported and work correctly for both iOS and Android. ", "updateAuthor": { "name": "matt_m", "key": "matt_m", "displayName": "Matt Moskal", "active": true, "timeZone": "America/New_York" }, "created": "2013-09-20T09:18:36.000+0000", "updated": "2013-09-20T09:18:36.000+0000" }, { "id": "290411", "author": { "name": "a.marcone", "key": "a.marcone", "displayName": "Alberto Marcone", "active": true, "timeZone": "Europe/Berlin" }, "body": "I got here from a google search and I just wanted to add that it doesn't work on iOS either.\r\nThe 2 commands _debounce_ and _throttle_ don't do anything on iOS.\r\n\r\nTiSDK 3.2.0", "updateAuthor": { "name": "a.marcone", "key": "a.marcone", "displayName": "Alberto Marcone", "active": true, "timeZone": "Europe/Berlin" }, "created": "2014-01-30T09:45:44.000+0000", "updated": "2014-01-30T09:47:27.000+0000" }, { "id": "290540", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~a.marcone] iOS simulator or iOS device or both?", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-01-30T23:37:30.000+0000", "updated": "2014-01-30T23:37:30.000+0000" }, { "id": "303178", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Moving this to 3.3.1 as workaround is already in place.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-05-01T17:14:34.000+0000", "updated": "2014-05-01T17:14:34.000+0000" }, { "id": "307344", "author": { "name": "sunila", "key": "sunila", "displayName": "Sunila", "active": true, "timeZone": "Asia/Kolkata" }, "body": "Changed the clearTimeout function to take an object instead of integer so that we can handle null values.\r\n\r\nhttps://github.com/appcelerator/titanium_mobile/pull/5756\r\n", "updateAuthor": { "name": "sunila", "key": "sunila", "displayName": "Sunila", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2014-06-03T16:39:46.000+0000", "updated": "2014-06-03T16:39:46.000+0000" }, { "id": "307709", "author": { "name": "sunila", "key": "sunila", "displayName": "Sunila", "active": true, "timeZone": "Asia/Kolkata" }, "body": "Pull request updated", "updateAuthor": { "name": "sunila", "key": "sunila", "displayName": "Sunila", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2014-06-05T19:38:40.000+0000", "updated": "2014-06-05T19:38:40.000+0000" }, { "id": "319052", "author": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Environment - \r\nAppcelerator Studio - 3.3.0.201407111535\r\nSDK - 3.4.0.v20140815142514\r\nACS - 1.0.16\r\nAlloy - 1.4.1\r\nNPM - 1.3.2\r\nTitanium - 3.3.0\r\nCode-processor - 1.1.1\r\nXcode - 6Beta5\r\nOS - Mavericks(v10.9.4)\r\nDevices - Nexus 7(v4.4), iPhone5(v7.1.2)\r\n\r\nNo exception is thrown. Underscore debounce method working fine.\r\nWorking fine.", "updateAuthor": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-08-18T11:44:23.000+0000", "updated": "2014-08-18T11:44:23.000+0000" }, { "id": "319231", "author": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing as working as expected.\r\nVerified with environment:\r\n\r\nAppcelerator Studio:3.4.0.201408180158\r\nSdk:3.4.0.v20140815142514\r\nalloy:1.5.0-dev\r\ntitanium:3.4.0-dev\r\ntitanium-code-processor:1.1.1\r\nacs:1.0.16\r\nnpm:1.3.2\r\nOS:Maverick(10.9.4)\r\nxcode: Xcode6Beta5\r\nDevice:iPhone5c(v7.1.2), Nexus 7(v4.4.2)", "updateAuthor": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-08-19T05:53:03.000+0000", "updated": "2014-08-19T05:53:03.000+0000" } ], "maxResults": 15, "total": 15, "startAt": 0 } } }