{ "id": "86998", "key": "TIMOB-7815", "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": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2012-03-18T11:24:44.000+0000", "created": "2012-02-25T11:43:15.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "qe-ios021312", "qe-nfc" ], "versions": [ { "id": "13070", "description": "Release 1.8 Service Pack 2", "name": "Release 1.8.2", "archived": true, "released": true, "releaseDate": "2012-02-29" } ], "issuelinks": [ { "id": "15409", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "86997", "key": "TIMOB-7814", "fields": { "summary": "Android: Analytics - ti.start event contains inaccurate property values", "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": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-09T22:52:33.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": "Details: Mike received the same bug while testing analytics for iOS regression pass.\r\n\r\nSteps to reproduce:\r\n1. Launch a Titanium app\r\n2. Monitor ti.start event from RightScale\r\n\r\nActual: city is San Francisco, postal_code is null, continent_code is NA\r\n\r\n{code:xml}\r\n{\"city\":\"San Francisco\",\"country_code\":\"US\",\"country_name\":\"United States\",\"postal_code\":null,\"latitude\":37.7645,\"longitude\":-122.4294,\"metro_code\":807,\"area_code\":415,\"continent_code\":\"NA\",\"id\":\"F002D34E-D0A8-4E78-97A8-DF06F479EEDE\",\"mid\":\"1695e43b6a2ef79a8ab6ce90d6ff78f313500671\",\"rdu\":null,\"type\":\"ti.start\",\"aguid\":\"d64cc020-bd6e-410c-88e6-3171df2dcccb\",\"event\":\"ti.start\",\"seq\":0,\"ver\":\"2\",\"deploytype\":\"test\",\"sid\":\"94844032-7DBD-4A89-9833-189F17ACE75E\",\"ts\":\"2012-02-25T19:17:19.494+0000\",\"data\":{\"tz\":-480,\"os\":\"iphone\",\"nettype\":\"WIFI\",\"un\":\"iPhone 4s Sprint\",\"deploytype\":\"test\",\"app_version\":\"1.0\",\"osver\":\"5.0.1\",\"version\":\"1.8.2.v20120223174636\",\"platform\":\"iphone\",\"model\":\"iPhone4,1\"}}\r\n{code}\r\nExpected: city, postal_code, and continent_code properties should contain the correct associated values.\r\n\r\nNote to dev: If you do not have a RightScale account, follow the setup in https://wiki.appcelerator.org/display/tp/Analytics+Test+Plan. *DO NOT USE APPC:QE TO TEST.*", "attachment": [], "flagged": false, "summary": "iOS: Analytics - ti.start event contains inaccurate property values", "creator": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "environment": "SDK build: 1.8.2.v20120223174636\r\nDevice: iphone 4S (5.0.1) \r\nTitanium Studio, build: 1.0.9.201202141208", "comment": { "comments": [ { "id": "186918", "author": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "In order to fix this, we have 3 options:\r\n1) It sends start immediately with old values.\r\n2) It sends start immediately with NO values.\r\n3) There is a delay, possibly forever if there's success in location services, before the start event is sent.", "updateAuthor": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-03-16T16:52:01.000+0000", "updated": "2012-03-16T16:52:01.000+0000" }, { "id": "186934", "author": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I would prefer #1 if you don't foresee any issue with this approach.", "updateAuthor": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-03-16T21:08:01.000+0000", "updated": "2012-03-16T21:08:01.000+0000" }, { "id": "186970", "author": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Then I propose we mark the bug invalid, because this bug's behavior IS #1. The issue is that on start, the only geolocation information the phone has is the last geolocation information the phone obtained. The reason we don't see this more often is because:\r\n\r\n1) Look at maps app, find location\r\n2) Walk about building, stay in same city for 10 minutes.\r\n3) start app\r\n4) Ti.Start provides 10 minute old information that's still accurate.\r\n\r\nis more common than\r\n\r\n1) look at maps app, find location\r\n2) take a cross-country flight\r\n3) start app\r\n4) Ti.Start provides 8 hour old information that's cross-country.\r\n\r\nIf the need to provide the age of the geolocation information is of use to analytics, we should open up a feature request linked to this.", "updateAuthor": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-03-18T11:24:01.000+0000", "updated": "2012-03-18T11:24:01.000+0000" }, { "id": "410852", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as invalid.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-09T22:52:33.000+0000", "updated": "2017-03-09T22:52:33.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }