{ "id": "63286", "key": "TIMOB-2654", "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": "11236", "name": "Release 1.6.0 M03", "archived": true, "released": true, "releaseDate": "2011-01-03" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T01:59:43.000+0000", "created": "2011-04-15T03:26:01.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "android", "defect", "enterprise", "release-1.6.0", "reported-1.5.1", "rplist" ], "versions": [], "issuelinks": [], "assignee": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "updated": "2011-04-17T01:59:43.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": "{html}

See Helpdesk

\n

Basically,

\n
\nxhr.onload = function(e)\n{\n    Ti.API.error(\"Received request for property: \"+ e.source.someProperty);\n};\n
\n

e.source is undefined

{html}", "attachment": [], "flagged": false, "summary": "Android: HTTPClient Events Do Not Provide Event Source", "creator": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "129099", "author": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "body": "{html}

(from [907b19d1aff9dcdd2468df1af9a5ae64ba335918])\n[#2654 state:fixed-in-qa][#1058\nstate:fixed-in-qa] update HttpClient to support app wide HttpClient\ninstance

\n

Modified TiHTTPClient to be a static member so that the client\nvalues such as cookies will live over multiple requests. Also\nmodifed the credentials to now pay attention to the url scope they\nare assigned to and not used globally. Made an additional change to\nset the source property for HttpClient callbacks.
\n\nhttps://github.com/appcelerator/titanium_mobile/commit/907b19d1aff9...

{html}", "updateAuthor": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "created": "2011-04-15T03:26:02.000+0000", "updated": "2011-04-15T03:26:02.000+0000" }, { "id": "129100", "author": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

verified on Nexus S / 2.3.2

{html}", "updateAuthor": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:26:02.000+0000", "updated": "2011-04-15T03:26:02.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }