{ "id": "117706", "key": "TIMOB-14690", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "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": "15576", "description": "2013 Sprint 16", "name": "2013 Sprint 16", "archived": true, "released": true, "releaseDate": "2013-08-12" }, { "id": "15578", "description": "2013 Sprint 16 API", "name": "2013 Sprint 16 API", "archived": true, "released": true, "releaseDate": "2013-08-12" }, { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-08-12T18:09:39.000+0000", "created": "2013-07-29T13:51:05.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "qe-closed-3.2.0", "qe-testadded" ], "versions": [ { "id": "15478", "description": "Release 3.1.1", "name": "Release 3.1.1", "archived": true, "released": true, "releaseDate": "2013-06-17" } ], "issuelinks": [ { "id": "33672", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "107476", "key": "TIMOB-12234", "fields": { "summary": "BlackBerry: Implement important Titanium.Geolocation functionality", "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" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } } } ], "assignee": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2014-06-19T12:44:12.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": "10230", "name": "BlackBerry", "description": "BlackBerry Platform" } ], "description": "Using\r\n{code:javascript}\r\nTi.Geoloation.getCurrentPosition(function(e) {\r\n\talert('lat:' + e.coords.latitude);\r\n});\r\n{code}\r\n\r\nGives\r\n{code}TypeError: Object [object Object] has no method 'getCurrentPosition'{code}", "attachment": [], "flagged": false, "summary": "BlackBerry: Implement Ti.GeoLocation.getCurrentPosition", "creator": { "name": "anvil_martin", "key": "anvil_martin", "displayName": "Martin Williamson", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "anvil_martin", "key": "anvil_martin", "displayName": "Martin Williamson", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Titanium 3.1.1.GA, BB NDK 10.1", "comment": { "comments": [ { "id": "263774", "author": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "body": "It probably isn't implemented yet.", "updateAuthor": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-07-29T21:56:29.000+0000", "updated": "2013-07-29T21:56:29.000+0000" }, { "id": "265770", "author": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Martin,\n\nThis is not implemented yet, but it will be in 3.2.GA\n\nOn a side note, you have a couple of syntax errors. ;)", "updateAuthor": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-08-09T20:21:20.000+0000", "updated": "2013-08-09T20:21:20.000+0000" }, { "id": "265974", "author": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "body": "PR: https://github.com/appcelerator/titanium_mobile_blackberry/pull/157", "updateAuthor": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-08-12T16:24:20.000+0000", "updated": "2013-08-12T16:24:20.000+0000" }, { "id": "278119", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Pedro, please provide a test code. Thanks.\r\n\r\n{code}\r\nInfo: Sending request: GET_FILE\r\nInfo: Action: Get File\r\nInfo: Package com.appc.bingo.testDev__appc_bingo74b69c30\r\nInfo: Asset Path logs/log\r\nInfo: Sending File: 269\r\napp.js:5\r\nTi.Geoloation.getCurrentPosition(function(e) {\r\n ^\r\nTypeError: Cannot call method 'getCurrentPosition' of undefined\r\n at app.js:5:15\r\n[N_DEBUG] virtual int NativeAbstractTextControlObject::setFont(TiObject*) Line 159: Unknown value received: Bold\r\n{code}", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-11-05T01:42:10.000+0000", "updated": "2013-12-10T19:43:12.000+0000" }, { "id": "283609", "author": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Typo on the test code. Try this:\n{code}\nTi.Geolocation.getCurrentPosition(function(e) {\n alert('lat: ' + e.coords.latitude);\n});\n{code}", "updateAuthor": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-12-10T20:30:35.000+0000", "updated": "2013-12-10T20:30:35.000+0000" }, { "id": "283628", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "To test add to tiapp.xml\n{code}\n \n \t\n access_internet\n access_location_services\n\t\n \n{code}\n\napp.js\n{code}\nvar win = Ti.UI.createWindow();\nwin.open(); \n\n\nTi.Geolocation.getCurrentPosition(function(e) {\n alert('lat:' + e.coords.latitude);\n});\n\n{code}\n\nClosing as fixed - \"lat:\" appears in the window.\n\n\nAppcelerator Studio, build: 3.2.0.201312091648\nTitanium SDK, build: 3.2.0.v20131209192649\nCLI 3.2.0-cr\nAlloy 1.3.0-cr", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-12-10T21:19:38.000+0000", "updated": "2013-12-10T21:19:38.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }