{ "id": "83811", "key": "TIMOB-6665", "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": "12090", "description": "", "name": "Sprint 2011-50", "archived": true, "released": true, "releaseDate": "2011-12-19" }, { "id": "12580", "description": "Dual Runtime 1.8.0", "name": "Release 1.8.0.1", "archived": true, "released": true, "releaseDate": "2011-12-22" }, { "id": "12593", "name": "Release 2.0.0", "archived": false, "released": true, "releaseDate": "2012-03-30" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-12-14T18:26:40.000+0000", "created": "2011-12-14T12:32:56.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "module_gesture", "qe-testadded" ], "versions": [ { "id": "12090", "description": "", "name": "Sprint 2011-50", "archived": true, "released": true, "releaseDate": "2011-12-19" }, { "id": "12580", "description": "Dual Runtime 1.8.0", "name": "Release 1.8.0.1", "archived": true, "released": true, "releaseDate": "2011-12-22" } ], "issuelinks": [], "assignee": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-06-19T12:43:45.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" } ], "description": "We currently set the default max listeners to 10 in events.js. We will want to remove the max listener-related code since we don't expose this.", "attachment": [], "flagged": false, "summary": "Android: Default max event listeners is set to 10", "creator": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "176134", "author": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Steps to reproduce:\r\n\r\nRun the following app.js:\r\n{code}\r\nTi.Gesture.addEventListener('orientationchange', function(e) {\r\n\talert(\"asdf\");\r\n});\r\nTi.Gesture.addEventListener('orientationchange', function(e) {\r\n\tTi.API.info(\"orientationchanged!-----------------\");\r\n});\r\nTi.Gesture.addEventListener('orientationchange', function(e) {\r\n\tTi.API.info(\"orientationchanged!-----------------\");\r\n});\r\nTi.Gesture.addEventListener('orientationchange', function(e) {\r\n\tTi.API.info(\"orientationchanged!-----------------\");\r\n});\r\nTi.Gesture.addEventListener('orientationchange', function(e) {\r\n\tTi.API.info(\"orientationchanged!-----------------\");\r\n});\r\nTi.Gesture.addEventListener('orientationchange', function(e) {\r\n\tTi.API.info(\"orientationchanged!-----------------\");\r\n});\r\nTi.Gesture.addEventListener('orientationchange', function(e) {\r\n\tTi.API.info(\"orientationchanged!-----------------\");\r\n});\r\nTi.Gesture.addEventListener('orientationchange', function(e) {\r\n\tTi.API.info(\"orientationchanged!-----------------\");\r\n});\r\nTi.Gesture.addEventListener('orientationchange', function(e) {\r\n\tTi.API.info(\"orientationchanged!-----------------\");\r\n});\r\nTi.Gesture.addEventListener('orientationchange', function(e) {\r\n\tTi.API.info(\"orientationchanged!-----------------\");\r\n});\r\nTi.Gesture.addEventListener('orientationchange', function(e) {\r\n\tTi.API.info(\"orientationchanged!-----------------\");\r\n});\r\nTi.Gesture.addEventListener('orientationchange', function(e) {\r\n\tTi.API.info(\"orientationchanged!-----------------\");\r\n});\r\n{code}\r\n\r\nExpected:\r\nIt will print the info statements and open the alert dialog when you switch orientations\r\n\r\nActual:\r\nJS Runtime error for too many listeners", "updateAuthor": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-12-14T14:04:47.000+0000", "updated": "2011-12-14T14:04:47.000+0000" }, { "id": "179134", "author": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing bug. Verified fix on:\r\n\r\nSDK build: 1.9.0.v20120112104633\r\nRuntime: V8, Rhino\r\nTitanium Studio, build: 1.0.8.201201111843\r\nDevice: Droid 3 (2.3.4)", "updateAuthor": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-01-12T16:18:32.000+0000", "updated": "2012-01-12T16:18:32.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }