{ "id": "126952", "key": "AC-934", "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": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2014-03-24T02:16:14.000+0000", "created": "2014-02-28T11:25:50.000+0000", "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2016-03-08T07:37:14.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": "14551", "name": "Studio", "description": "Please enter tickets related to Titanium Studio here." } ], "description": "I believe this to be a bug but maybe it is an intended feature. If you create a geolocation event listener for 'location' and then remove it more than once you cannot add it back with a single addEventListener call. Example: I had a play, pause, and stop button. Play added the event listener while pause and stop removed it. This cause an issue when the sequence was play, pause, stop (add, remove, remove). I solved the problem by removing the superfluous remove associated with stop. However, I would think that your code would not want to remove an event listener that was not registered or that it would gracefully ignore such a call. I don't think it is - again, perhaps that is by design but just in case it is not I am logging this ticket.", "attachment": [], "flagged": false, "summary": "Gelocation multiple removeEventListener calls will prevent addEventListener", "creator": { "name": "jaymefishman", "key": "jaymefishman", "displayName": "Jayme Fishman", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "jaymefishman", "key": "jaymefishman", "displayName": "Jayme Fishman", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Studio 3.2x Mac OSX", "comment": { "comments": [ { "id": "297489", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Please provide a simple runnable test case to reproduce this issue.", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-03-17T03:01:32.000+0000", "updated": "2014-03-17T03:01:32.000+0000" }, { "id": "298348", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Resolving this ticket as we have not received any test case to reproduce this issue.", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-03-24T02:16:14.000+0000", "updated": "2014-03-24T02:16:14.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }