{ "id": "154893", "key": "TIMOB-20399", "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": "2016-03-08T01:51:24.000+0000", "created": "2016-02-12T18:10:54.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "qe-5.2.0" ], "versions": [], "issuelinks": [], "assignee": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2016-03-08T01:51:24.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": [], "description": "*Details:* If you pass the device_token to users/logout, then the device is still subscribed for push notification.\r\n\r\n*Notes:* \r\n* This is *not a regression* since this occurs with current production dashboard.\r\n* CLOUDSRV tickets are not public, so this ticket will represent CLOUDSRV-4796.\r\n\r\n*Steps to reproduce:*\r\n# Run the attached shell script: \r\n** The script is already configured with a *preprod* Titanium app that has push notification configured.\r\n** The script will log in a user, subscribe a device token, and log out with the device_token parameter.\r\n# Check https://360-preprod.cloud.appctest.com/#/api/data/e45cf3b8-40cb-4799-acdd-c681cbeeaf0a/push/devices\r\n\r\n*Actual:* The device is still subscribed for push notifications; see attachment.\r\n\r\n*Expected:* The device should be unsubscribed for push notifications if the device token was passed to the logout method.", "attachment": [ { "id": "58224", "filename": "Screen Shot 2016-02-10 at 3.01.54 PM.png", "author": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-02-12T18:08:49.000+0000", "size": 141224, "mimeType": "image/png" }, { "id": "58223", "filename": "test.sh", "author": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-02-12T18:08:49.000+0000", "size": 845, "mimeType": "application/x-sh" } ], "flagged": false, "summary": "If you pass the device_token to users/logout, then the device is still subscribed for push notification", "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": null, "comment": { "comments": [ { "id": "379099", "author": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as invalid as per comments in CLOUDSRV-4796.", "updateAuthor": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-03-08T01:51:14.000+0000", "updated": "2016-03-08T01:51:14.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }