[TIMOB-11290] Kitchen sink->Platform->XHR Error callback showing 'unable to resolve host' instead of URL
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2012-10-16T17:16:36.000+0000 |
Affected Version/s | Release 3.0.0 |
Fix Version/s | 2012 Sprint 21 API, 2012 Sprint 21 |
Components | Android |
Labels | api, qe-and100112, regression |
Reporter | Shyam Bhadauria |
Assignee | Ingo Muschenetz |
Created | 2012-10-06T13:19:08.000+0000 |
Updated | 2013-11-07T18:33:45.000+0000 |
Description
This is a regression. It works fine in 2.1.3.
Screenshots are attached for sdks 2.1.3 and 3.0.0.
In 3.0.0, it do not displays the url 'http://www.fre100.com' but displays the error
'Unable to resolve host "www.fre100.com": No address associated with hostname'. Log attached of the same.
Steps to reproduce:
1. Launch refactored Kitchen Sink (Kevin Winnerey/Developer relations version) > Platform > XHR > Error callback
Actual result:
1. Gets:
UTF-8 GET
www.fre100.com
Expected result:
1. Should get:
UTF-8 GET
Unable to resolve host "www.fre100.com": No
address associated with hostname
Attachments
File | Date | Size |
---|---|---|
XHR Error Callback 3.0.0..rtf | 2012-10-06T13:19:08.000+0000 | 2153 |
XHR Error callback SDK 2.1.3.png | 2012-10-06T13:19:08.000+0000 | 17491 |
XHR Error Callback sdk 3.0.0.png | 2012-10-06T13:19:08.000+0000 | 15220 |
Cannot reproduce using HTC Sensation 4G (2.3.4) and Galaxy Tab (3.1). The error messages on one single device are consistent with 2.1.3.GA and 3_0_X branch. Tested on HTC Sensation 4G (2.3.4). It shows:
on both 2.1.3.GA and 3_0_X branch. Tested on Galaxy Tab (3.1). It shows:
on both 2.1.3.GA and 3_0_X branch. Different error messages are shown on different devices is because different error messages are set on different Android versions. It's a change in native Android. Not a Titanium bug. Can you clarify whether the different error messages are generated from the same device by using different SDK versions?
Verified With - SDK - 3.1.0.v20130409124549 Appcelerator Studio - 3.1.0.201304091724 OS - Montain Lion (v10.8.2) Device - Android 4.1, 2.2 Getting same error message on device using different SDK versions. Hence closing this issue.