Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-5249] Kitchensink: Platform>XHR>XML properties, both responseText and responseXML are undefined

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2011-11-01T15:03:27.000+0000
Affected Version/sRelease 1.8.0
Fix Version/sSprint 2011-43, Release 1.8.0
ComponentsiOS
Labelskitchensink, regression
ReporterEric Merriman
AssigneeSabil Rahim
Created2011-09-09T17:21:48.000+0000
Updated2014-06-19T12:46:21.000+0000

Description

Description: While testing KitchenSink, Platform>XHR>XML properties, I noted that the results for both responseText and responseXML were undefined despite the call being successful (200). As far as I understand, a recent change to change some "null" returns to "undefined" may be the cause of this change. The "response text" for this call should be "null" if no error, or "text" if there was an error. Steps to reproduce: 1) Install KS 1.8.0 on device 2) Navigate to Platform>XHR>XML properties 3) Launch the test 4) Examine the ouput Result: both responseText and responseXML are undefined Expected: Both should be "null" Notes: Does not occur in 1.7.2

Comments

  1. Sabil Rahim 2011-11-01

    pull pending 611
  2. Natalie Huynh 2011-12-03

    Tested with SDK: 1.8.0.1.v20111203093857 iPhone 4s 5.0.1 iPad 2 4.3.5 iPod 3rd gen 4.0.2

JSON Source