{ "id": "149463", "key": "TIMOB-19176", "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-21T05:55:28.000+0000", "created": "2015-07-06T17:38:45.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:09:06.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 analytics are being sent from a Windows phone they are being sent multiple times. See the attached payloads.txt for an example.\r\n\r\nThis appears to only be happening for ti.background events, it seems the event is being sent once when the app is backgrounded and then again when the app is reopened, if the app is quit then the ti.background is not sent when the app is reopened\r\n\r\nh5.Steps To Reproduce\r\n\r\n1. Point to staging server to see the payloads\r\n2. Build to device\r\n\r\nh5.Actual Result\r\n\r\nThe events are being sent multiple times\r\n\r\nh5.Expected Result\r\n\r\nAn event should only be sent once", "attachment": [ { "id": "56091", "filename": "payloads.txt", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2015-07-06T17:37:55.000+0000", "size": 10232, "mimeType": "text/plain" } ], "flagged": false, "summary": "Windows: ti.background events are being sent multiple times", "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 (NPM): 4.1.0-1\r\nAppc CLI (Registry): 4.1.0-5\r\nTi SDK: 4.1.0.v20150706073311", "closedSprints": [ { "id": 453, "state": "closed", "name": "2015 Sprint 15 Windows", "startDate": "2015-07-20T04:01:11.596Z", "endDate": "2015-08-02T03:59:00.000Z", "completeDate": "2015-08-03T23:03:05.129Z", "originBoardId": 144 } ], "comment": { "comments": [ { "id": "357228", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR: https://github.com/appcelerator/titanium_mobile_windows/pull/382", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-07-08T00:30:00.000+0000", "updated": "2015-07-16T23:44:55.000+0000" }, { "id": "413069", "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:09:06.000+0000", "updated": "2017-03-16T21:09:06.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }