{ "id": "149123", "key": "TIMOB-19071", "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": [], "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2016-01-08T19:35:38.000+0000", "created": "2015-06-25T07:15:33.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [], "versions": [ { "id": "16593", "description": "Release 4.0.0", "name": "Release 4.0.0", "archived": false, "released": true, "releaseDate": "2015-05-21" } ], "issuelinks": [ { "id": "50245", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "153382", "key": "TIMOB-20046", "fields": { "summary": "Ti.Geolocation.getCurrentPosition returns success:true with no coords", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "priority": { "name": "None", "id": "6" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-22T22:27:50.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": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "In iOS Simulator (iOS 8.3), running the following code:\r\n\r\n{code:javascript}\r\nTi.Geolocation.getCurrentPosition(function (e) {\r\n console.log(e);\r\n});\r\n{code}\r\n\r\nSometimes gives me the following {{e}} when I have LiveView enabled:\r\n\r\n{code}\r\n[INFO] {\r\n[INFO] code = 0;\r\n[INFO] error = \"The operation couldn\\U2019t be completed. (kCLErrorDomain error 0.)\";\r\n[INFO] source = \"[object GeolocationModule]\";\r\n[INFO] success = 1;\r\n[INFO] type = location;\r\n[INFO] }\r\n{code}\r\n\r\nThis has 2 problems:\r\n\r\n# The error itself.\r\n# The fact that success = 1, while I'd expect it to be 0.", "attachment": [], "flagged": false, "summary": "Ti.Geolocation.getCurrentPosition can have success:true and error at the same time with LiveView", "creator": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "subtasks": [], "reporter": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "environment": "SDK 4.0.0.GA\r\niOS Simulator (iOS 8.3)\r\nLiveView enabled", "comment": { "comments": [ { "id": "374112", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "This is not just with LiveView, so closing this in favour of TIMOB-20046", "updateAuthor": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2016-01-08T19:35:32.000+0000", "updated": "2016-01-08T19:35:32.000+0000" }, { "id": "415128", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as duplicate and links to the related ticket have been provided above.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-22T22:27:50.000+0000", "updated": "2017-03-22T22:27:50.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }