Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-2167] Android: unexpected results on XHR Error callback

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionCannot Reproduce
Resolution Date2014-02-11T17:44:51.000+0000
Affected Version/sRelease 3.0.0
Fix Version/sn/a
ComponentsAndroid
Labelscore
ReporterThomas Huelbert
AssigneeSunila
Created2011-04-15T03:12:32.000+0000
Updated2017-03-17T18:19:32.000+0000

Description

1.5.0.70ce98 g2 running 2.2, not seen on 1.6

1.Platform>xhr>Error Call back
resultsd: http://www.fre100.com">www.fre100.com

expected: the g1 returned a bunch of data. Not sure if this is a test issue on this platform, hence no regression tag.

Comments

  1. Junaid Younus 2012-08-22

    Tested on a Samsung Galaxy S2 using TiSDK 2.2.0v20120821095711, issue reproducible and still valid.
  2. Sunila 2014-02-11

    I can't reproduce the issue, tried the following test case and the proper error is shown. var xhr = Titanium.Network.createHTTPClient(); xhr.onerror = function(e) { Ti.API.info("ERROR " + e.error); alert(e.error); }; xhr.onload = function() { Ti.API.info("SUCCESS"); }; // open the client and encode our URL xhr.open('GET',"http://www.fre100.com"); // send the data xhr.send();
  3. Lee Morris 2017-03-17

    Closing ticket as the issue cannot be reproduced.

JSON Source