{ "id": "120105", "key": "TIMOB-15244", "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": "15703", "description": "2013 Sprint 22", "name": "2013 Sprint 22", "archived": true, "released": true, "releaseDate": "2013-11-01" }, { "id": "15704", "description": "2013 Sprint 22 API", "name": "2013 Sprint 22 API", "archived": true, "released": true, "releaseDate": "2013-11-01" }, { "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-10-23T00:18:54.000+0000", "created": "2013-09-17T20:56:00.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "module_network", "qe-testadded" ], "versions": [ { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "issuelinks": [ { "id": "31974", "type": { "id": "10000", "name": "Blocks", "inward": "is blocked by", "outward": "blocks" }, "outwardIssue": { "id": "117404", "key": "TIMOB-14610", "fields": { "summary": "Android: HttpClient does not share cookies with WebView", "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": "Critical", "id": "1" }, "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } } } ], "assignee": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2013-11-20T00:10:10.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": "10202", "name": "Android", "description": "Android Platform" } ], "description": "In Android, HttpClient does not share cookies with WebView. Need to expose the cookie management methods so developers can manage their cookies.\r\nReference: http://developer.android.com/reference/android/webkit/CookieManager.html\r\nhttp://developer.android.com/reference/org/apache/http/client/CookieStore.html\r\nhttp://developer.android.com/reference/org/apache/http/impl/cookie/BasicClientCookie.html", "attachment": [ { "id": "43280", "filename": "timob15244.zip", "author": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-10-18T00:50:43.000+0000", "size": 755123, "mimeType": "application/zip" } ], "flagged": false, "summary": "Android: Expose cookie management methods for HTTPClient and WebView", "creator": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "275569", "author": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR: https://github.com/appcelerator/titanium_mobile/pull/4804\r\nFor FR:\r\n1. Run the attached project \"timob15244\".\r\n\r\n2. Click \"Test System Cookies\".\r\n i) Click \"add system cookies\". It should add 5 cookies to the system cookie store.\r\n ii) Click \"get system cookies: mydomain.com, /, null\". Should show an alert with 2 cookies: cookie1 and COOKIE1. *Note*: only name and value are specified; all the other properties are undefined. This behavior has been documented in the PR.\r\n iii) Click \"get system cookies: www.mydomain.com, /, null\". Should show an alert with 3 cookies: cookie1, COOKIE1 and cookie4.\r\n iv) Click \"get system cookies: .mydomain.com, /foo/, null\". Should show 3 cookies: cookie3, cookie1 and COOKIE1.\r\n v) Click \"get system cookies: www.mydomain.com, /foo/, null\". Should show 4 cookies: cookie3, cookie1, COOKIE1, cookie4.\r\n vi) Click \"get system cookies: www.mydomain.com, /FOO/, cookie5\". Should show 1 cookie: cookie5.\r\n vii) Click \"remove system cookies: .mydomain.com, null, COOKIE1\" and then \"get system cookies: mydomain.com, /, null\". Should show 1 cookie: cookie1.\r\n viii) Click \"remove all system cookies\" and then \"get system cookies: mydomain.com, /, null\". Should show \"null\".\r\n\r\n3. Go back to the main window with the table view. Click \"Test HTTP Cookies\".\r\n i) Repeat Step 2 i)-iv).\r\n ii) Click \"get HTTP cookies for domain: .mydomain.com\". Should show 3 cookies: cookie1, COOKIE1 and cookie3.\r\n iii) Click \"get HTTP cookies for domain: www.mydomain.com\". Should show 5 cookies: cookie1, COOKIE1, cookie3, cookie4 and cookie5.\r\n iv) Click \"remove HTTP cookies: .mydomain.com, null, COOKIE1\" and then \"get HTTP cookies: mydomain.com, /, null\". Should show 1 cookie: cookie1.\r\n v) Click \"add HTTP cookies\". Click \"remove HTTP cookies for domain: .mydomain.com\". Click \"get HTTP cookies for domain: www.mydomain.com\". Should show 2 cookies: cookie4 and cookie5.\r\n vi) Click \"add HTTP cookies\". Click \"remove HTTP cookies for domain: www.mydomain.com\". Click \"get HTTP cookies for domain: www.mydomain.com\". Should show \"null\".\r\n\r\n4. Go back to the main window. Click \"Test Cookies for www.google.com\". Dismiss the alert \"HTTP client onload\".\r\n i) Click \"getSystemCookies\". Should show 2 cookies: PREF and NID.\r\n ii) Click \"getHTTPCookies\". Should show 2 cookies: NID and PREF.\r\n\r\n5. Run Anvil->network_httpclient. All tests should pass.", "updateAuthor": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-10-18T01:18:43.000+0000", "updated": "2013-10-18T01:19:03.000+0000" }, { "id": "276281", "author": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "body": "CR + FR", "updateAuthor": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-10-23T00:18:54.000+0000", "updated": "2013-10-23T00:18:54.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }