Titanium JIRA Archive
Appcelerator Community (AC)

[AC-1913] TiAPI: Open function on HttpClient is broken

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionCannot Reproduce
Resolution Date2013-08-20T18:58:49.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsTitanium SDK & CLI
Labelsregression, triage
ReporterBrenton House
AssigneeChris Barber
Created2013-08-13T08:03:49.000+0000
Updated2016-03-08T07:40:50.000+0000

Description

This pull request: https://github.com/appcelerator/titanium_mobile/pull/4229 breaks HttpClient when the open function is called. The error happens when it hits this line: c = this.__values__.constants,
Unable to get property 'constants' of undefined or null reference
this.__values__ is undefined at this point.

Attachments

FileDateSize
app.js2013-08-20T18:59:17.000+00001603

Comments

  1. Daniel Sefton 2013-08-14

    Hi Brenton, Thanks for the report. It would be great if you could provide a simple test case which reproduces the problem. Thanks!
  2. Chris Barber 2013-08-20

    I tested this with the latest 3.2.0 code and it works as expected. I've attached my sample app.js.

JSON Source