{ "id": "63889", "key": "TIMOB-3257", "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": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2012-09-04T13:31:21.000+0000", "created": "2011-04-15T03:40:37.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [], "issuelinks": [ { "id": "20530", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "94532", "key": "TIMOB-9901", "fields": { "summary": "TiAPI: Review and clean up platform bugs and reduce bug count by 20%.", "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": "7", "description": "gh.issue.story.desc", "name": "Story", "subtask": false } } } } ], "assignee": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-09T22:17:46.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": "{html}
Issue Description: My code accesses the Google Docs List API to\nexport online Google Document contents to a webview in the app. It\nworks perfectly in TiDev 1.5 but does not work the same with 1.6\neven with the same code base.
\nSteps to reproduce:
\nCopy and paste the code from http://pastie.org/1626702 to your\napp.js. You can start with a new project in TiDev and just\noverwrite the existing app.js content with this.
\nCreate a new file called \"parse.js\" and paste the code from here\nhttp://pastie.org/1626711.
\nIf you have a Google account, login using your desktop and\ncreate a few dummy documents (these must be of 'Document'\ntype).
\nThe code once copied and pasted is ready to go, so build the\ncode in Titanium Developer using SDK v1.5 and login to your Google\naccount through the app. Once logged in, click on a document in the\nlist to see the document display in the webview.
\nRepeat step 4 but this time use SDK v1.6. You should see that\nthe Google page that comes up now is not the right one.
\nExpected behavior: The selected document's contents should\nappear in the webview (see attached screen-shot expected.png)
\nActual behavior: The Google sign up page is displayed instead in\nthe webview, which usually indicates that an auth token was not\nreceived (see attached screen-shot actual.png)
\nTarget and Development platform (Titanium Mobile 1.6 on Mac OSX\nSnow Leopard 64bit for iOS)
\nLogs and errors: The app does not generate any errors. Code\nwise, it seems to be fine.
\nInitial analysis & suspicions: I have a suspicion that\nhttpClient in 1.6 seems to operate rather differently than in 1.5\nperhaps when it comes to the sequence of asynchronous events.
Issue resolved. Please remove this ticket.