{ "id": "149178", "key": "TIMOB-19083", "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": "16925", "description": "WatchKit Support--all going into 5.0 now", "name": "Release 5.0.0", "archived": true, "released": true, "releaseDate": "2015-09-16" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2015-07-10T21:04:11.000+0000", "created": "2015-06-26T17:39:21.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "qe-4.1.0" ], "versions": [ { "id": "16723", "description": "Windows Platform Support, ListView updates, Vector overlays in maps", "name": "Release 4.1.0", "archived": false, "released": true, "releaseDate": "2015-07-08" } ], "issuelinks": [], "assignee": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-16T21:56:41.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": "12642", "name": "Windows", "description": "Windows authoring support" } ], "description": "h5.Description\r\n\r\nWhen opening an closing and reopening an application, each time the app is reopened a new session ID is generated. As per iOS and Android a new session ID should only be generated when an app has been backgrounded and not reopened for 30 seconds or longer\r\n\r\nh5.Steps To Reproduce\r\n\r\n*Using the staging environment for analytics*\r\n\r\n1. Open an app\r\n2. Close the app using the Windows hardware button\r\n3. Reopen the app in less than 30 seconds\r\n\r\nh5.Actual Result\r\n\r\nA new session ID is generated \r\n\r\nh5.Expected Result\r\n\r\nA new session ID should not be generated", "attachment": [ { "id": "55972", "filename": "events.json", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2015-06-26T17:53:48.000+0000", "size": 1334, "mimeType": "application/json" } ], "flagged": false, "summary": "Windows: New analytics session ID is generated every time an app is opened", "creator": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "subtasks": [], "reporter": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "environment": "Windows 8.1 \r\nAppc CLI: 4.1.0-3\r\nTi SDK: 4.1.0.v20150625180021\r\nLumia 928: 8.1", "closedSprints": [ { "id": 436, "state": "closed", "name": "2015 Sprint 13 Windows", "startDate": "2015-06-20T23:02:43.965Z", "endDate": "2015-07-04T23:02:00.000Z", "completeDate": "2015-07-06T14:03:22.174Z", "originBoardId": 144 }, { "id": 443, "state": "closed", "name": "2015 Sprint 14 Windows", "startDate": "2015-07-06T04:01:52.896Z", "endDate": "2015-07-19T03:59:00.000Z", "completeDate": "2015-07-20T22:18:14.505Z", "originBoardId": 144 } ], "comment": { "comments": [ { "id": "356086", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "Added events.json that includes two events, a ti.background and ti.foreground. Note the SID is different in both despite the timestamp showing the events are less than 30 seconds apart", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2015-06-26T17:55:03.000+0000", "updated": "2015-06-26T17:55:03.000+0000" }, { "id": "356160", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I can't reproduce this. Could you test using this PR : https://github.com/appcelerator/titanium_mobile_windows/pull/332", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-06-27T01:03:35.000+0000", "updated": "2015-06-27T01:03:35.000+0000" }, { "id": "357023", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "Issue still occurs using:\r\n\r\nWindows 8.1\r\nAppc CLI (NPM): 4.1.0-1\r\nAppc CLI (Registry): 4.1.0-5\r\nTi SDK: 4.1.0.v20150706111546\r\nLumia 1020: 8.1\r\n\r\n{code}\r\n--First launch--\r\n{\"city\":\"San Francisco\",\"region_code\":\"CA\",\"country_code\":\"US\",\"country_name\":\"United States\",\"postal_code\":\"\",\"latitude\":37.774898529053,\"longitude\":-122.41940307617,\"area_code\":415,\"continent_code\":\"NA\",\"ip_address\":\"38.110.144.252\",\"region_name\":\"California\",\"id\":\"506b73ef-428b-42bc-bd1f-208c3f643b53:c6ea39484a1632ff590c24a7d6b144f3\",\"sid\":\"c15e7b2c-c8ec-429d-88a4-99c04f8f5b4f\",\"ts\":\"2015-07-06T18:47:42.616Z\",\"event\":\"ti.enroll\",\"seq\":0,\"mid\":\"c6ea39484a1632ff590c24a7d6b144f3\",\"ver\":\"3\",\"aguid\":\"547a9c0f-dd82-4f5c-9aaa-c91d61bbd208\",\"data\":\"{\\\"platform\\\":\\\"windows\\\",\\\"osarch\\\":\\\"arm\\\",\\\"model\\\":\\\"NOKIA RM-877_lta_lta_266\\\",\\\"oscpu\\\":2,\\\"ostype\\\":\\\"arm\\\",\\\"deploytype\\\":\\\"test\\\",\\\"app_id\\\":\\\"com.appc.project\\\",\\\"app_name\\\":\\\"classicProject\\\",\\\"os\\\":\\\"windowsphone\\\",\\\"tz\\\":-420,\\\"nettype\\\":\\\"UNKNOWN\\\",\\\"app_version\\\":\\\"1.0\\\",\\\"osver\\\":\\\"0.0\\\",\\\"sdkver\\\":\\\"\\\"}\",\"source\":\"mobile-track\"}\r\n{\"city\":\"San Francisco\",\"region_code\":\"CA\",\"country_code\":\"US\",\"country_name\":\"United States\",\"postal_code\":\"\",\"latitude\":37.774898529053,\"longitude\":-122.41940307617,\"area_code\":415,\"continent_code\":\"NA\",\"ip_address\":\"38.110.144.252\",\"region_name\":\"California\",\"id\":\"ab79c983-2f29-48b9-ac27-bdf9cfe0f599:c6ea39484a1632ff590c24a7d6b144f3\",\"sid\":\"c15e7b2c-c8ec-429d-88a4-99c04f8f5b4f\",\"ts\":\"2015-07-06T18:47:42.631Z\",\"event\":\"ti.foreground\",\"seq\":1,\"mid\":\"c6ea39484a1632ff590c24a7d6b144f3\",\"ver\":\"3\",\"aguid\":\"547a9c0f-dd82-4f5c-9aaa-c91d61bbd208\",\"data\":\"{\\\"platform\\\":\\\"windows\\\",\\\"osarch\\\":\\\"arm\\\",\\\"model\\\":\\\"NOKIA RM-877_lta_lta_266\\\",\\\"oscpu\\\":2,\\\"ostype\\\":\\\"arm\\\",\\\"deploytype\\\":\\\"test\\\",\\\"app_id\\\":\\\"com.appc.project\\\",\\\"app_name\\\":\\\"classicProject\\\",\\\"os\\\":\\\"windowsphone\\\",\\\"tz\\\":-420,\\\"nettype\\\":\\\"UNKNOWN\\\",\\\"app_version\\\":\\\"1.0\\\",\\\"osver\\\":\\\"0.0\\\",\\\"sdkver\\\":\\\"\\\"}\",\"source\":\"mobile-track\"}\r\n\r\n--App backgrounded--\r\n{\"id\":\"f15e2214-02cb-482d-9af9-f9eaff9a12cb:c6ea39484a1632ff590c24a7d6b144f3\",\"sid\":\"c15e7b2c-c8ec-429d-88a4-99c04f8f5b4f\",\"ts\":\"2015-07-06T18:47:57.194Z\",\"event\":\"ti.background\",\"seq\":2,\"mid\":\"c6ea39484a1632ff590c24a7d6b144f3\",\"ver\":\"3\",\"aguid\":\"547a9c0f-dd82-4f5c-9aaa-c91d61bbd208\",\"source\":\"mobile-track\"}\r\n\r\n--App reopened--\r\n{\"city\":\"San Francisco\",\"region_code\":\"CA\",\"country_code\":\"US\",\"country_name\":\"United States\",\"postal_code\":\"\",\"latitude\":37.774898529053,\"longitude\":-122.41940307617,\"area_code\":415,\"continent_code\":\"NA\",\"ip_address\":\"38.110.144.252\",\"region_name\":\"California\",\"id\":\"7db78d03-edb9-4486-bdde-d3a5cd4febd1:c6ea39484a1632ff590c24a7d6b144f3\",\"sid\":\"37c33795-713e-4e38-aef2-f348ce1c50c3\",\"ts\":\"2015-07-06T18:48:04.787Z\",\"event\":\"ti.foreground\",\"seq\":0,\"mid\":\"c6ea39484a1632ff590c24a7d6b144f3\",\"ver\":\"3\",\"aguid\":\"547a9c0f-dd82-4f5c-9aaa-c91d61bbd208\",\"data\":\"{\\\"platform\\\":\\\"windows\\\",\\\"osarch\\\":\\\"arm\\\",\\\"model\\\":\\\"NOKIA RM-877_lta_lta_266\\\",\\\"oscpu\\\":2,\\\"ostype\\\":\\\"arm\\\",\\\"deploytype\\\":\\\"test\\\",\\\"app_id\\\":\\\"com.appc.project\\\",\\\"app_name\\\":\\\"classicProject\\\",\\\"os\\\":\\\"windowsphone\\\",\\\"tz\\\":-420,\\\"nettype\\\":\\\"UNKNOWN\\\",\\\"app_version\\\":\\\"1.0\\\",\\\"osver\\\":\\\"0.0\\\",\\\"sdkver\\\":\\\"\\\"}\",\"source\":\"mobile-track\"}\r\n{code}", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2015-07-06T18:59:33.000+0000", "updated": "2015-07-06T18:59:33.000+0000" }, { "id": "357196", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR: https://github.com/appcelerator/titanium_mobile_windows/pull/360", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-07-07T19:46:00.000+0000", "updated": "2015-07-07T19:46:00.000+0000" }, { "id": "413224", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as fixed.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-16T21:56:41.000+0000", "updated": "2017-03-16T21:56:41.000+0000" } ], "maxResults": 7, "total": 7, "startAt": 0 } } }