{ "id": "60801", "key": "TIMOB-169", "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": "11216", "name": "Release 0.8.0", "archived": true, "released": true, "releaseDate": "2009-11-20" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T01:52:12.000+0000", "created": "2011-04-15T02:24:40.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "android", "defect", "ios", "iphone" ], "versions": [], "issuelinks": [], "assignee": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-04-17T01:52:12.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}

It seems that overriding the default XMLHttpRequest() function\nis not enough to satisfy jQuery - will check out the other\nlibraries as well. This code will print the error message in the\nconsole:

\n
\n\njQuery.ajax({\n  url: \"http://www.google.com\",\n  method: \"GET\",\n  dataType: \"html\",\n  success: function(data) {\n    Titanium.API.info(\"jQuery FTW!!!!!!!!!\");\n  },\n  error: function(xhr,error) {\n    Titanium.API.error(\"jQuery FAIL!!!!!!!!!\");\n  }\n});\n
\n

Will get the debug version of jQuery to see if I can get a\nspecific error...

{html}", "attachment": [], "flagged": false, "summary": "jQuery Ajax not working in 0.7 or 0.7.1", "creator": { "name": "kevinwhinnery", "key": "kevinwhinnery", "displayName": "kevinwhinnery", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "kwhinnery", "key": "kwhinnery", "displayName": "Kevin Whinnery", "active": true, "timeZone": "America/Chicago" }, "environment": null, "comment": { "comments": [ { "id": "122875", "author": { "name": "ryansullivan", "key": "ryansullivan", "displayName": "Ryan Sullivan", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

I have the same problem.

{html}", "updateAuthor": { "name": "ryansullivan", "key": "ryansullivan", "displayName": "Ryan Sullivan", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:24:40.000+0000", "updated": "2011-04-15T02:24:40.000+0000" }, { "id": "122876", "author": { "name": "ryansullivan", "key": "ryansullivan", "displayName": "Ryan Sullivan", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Even after adding the following code to my Javascript, problem\nstill exists:

\n

window.XMLHttpRequest = function() {

\n
\nreturn new Titanium.Network.createHTTPClient();\n
\n

};

{html}", "updateAuthor": { "name": "ryansullivan", "key": "ryansullivan", "displayName": "Ryan Sullivan", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:24:40.000+0000", "updated": "2011-04-15T02:24:40.000+0000" }, { "id": "122877", "author": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "body": "{html}

i thought we had a test case for this in Kitchen Sink. If not, i\nwill add.

\n

is this for iphone, android or both?

{html}", "updateAuthor": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:24:41.000+0000", "updated": "2011-04-15T02:24:41.000+0000" }, { "id": "122878", "author": { "name": "kevinwhinnery", "key": "kevinwhinnery", "displayName": "kevinwhinnery", "active": false, "timeZone": "America/Los_Angeles" }, "body": "{html}

This is for both

{html}", "updateAuthor": { "name": "kevinwhinnery", "key": "kevinwhinnery", "displayName": "kevinwhinnery", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:24:41.000+0000", "updated": "2011-04-15T02:24:41.000+0000" }, { "id": "122879", "author": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "body": "{html}

this is related to \nhttps://appcelerator.lighthouseapp.com/projects/32238-titanium-mobi...

{html}", "updateAuthor": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:24:41.000+0000", "updated": "2011-04-15T02:24:41.000+0000" }, { "id": "122880", "author": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "body": "{html}

this has been fixed for iphone but still broken for android.

{html}", "updateAuthor": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:24:41.000+0000", "updated": "2011-04-15T02:24:41.000+0000" }, { "id": "122881", "author": { "name": "ryansullivan", "key": "ryansullivan", "displayName": "Ryan Sullivan", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Last I checked this was broken on iPhone. That is what I've been\ndeveloping on, using 0.7.1

{html}", "updateAuthor": { "name": "ryansullivan", "key": "ryansullivan", "displayName": "Ryan Sullivan", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:24:41.000+0000", "updated": "2011-04-15T02:24:41.000+0000" }, { "id": "122882", "author": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Fixed with #126

{html}", "updateAuthor": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:24:42.000+0000", "updated": "2011-04-15T02:24:42.000+0000" }, { "id": "130826", "author": { "name": "nderzhak", "key": "nderzhak", "displayName": "Nikolai Derzhak", "active": true, "timeZone": "America/Phoenix" }, "body": "rollback wrong update", "updateAuthor": { "name": "nderzhak", "key": "nderzhak", "displayName": "Nikolai Derzhak", "active": true, "timeZone": "America/Phoenix" }, "created": "2011-04-15T07:54:42.000+0000", "updated": "2011-04-15T07:54:42.000+0000" } ], "maxResults": 9, "total": 9, "startAt": 0 } } }