{ "id": "128691", "key": "TIMOB-16817", "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": [], "resolution": null, "resolutiondate": null, "created": "2014-04-04T09:31:23.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "httpclient", "reprod" ], "versions": [ { "id": "15857", "description": "Release 3.2.2", "name": "Release 3.2.2", "archived": false, "released": true, "releaseDate": "2014-03-09" } ], "issuelinks": [], "assignee": null, "updated": "2018-02-28T20:04:02.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "When I set autoRedirect = false on contruct it is not set.\r\n\r\n\tvar xhr = Ti.Network.createHTTPClient({autoRedirect :false});\r\n\tif (xhr.getAutoRedirect()) {\r\n\t\tTi.API.info('redirect');\r\n\t} else {\r\n\t\tTi.API.info('no redirect');\t\t\r\n\t}\r\n\txhr.setAutoRedirect(false);\r\n\tif (xhr.getAutoRedirect()) {\r\n\t\tTi.API.info('redirect');\r\n\t} else {\r\n\t\tTi.API.info('no redirect');\t\t\r\n\t}\r\n\t\r\nLogs are :\r\n\r\n\tredirect\r\n\tno redirect\r\n\r\n", "attachment": [], "flagged": false, "summary": "Android: autoRedirect property in createHTTPClient method does not work", "creator": { "name": "gduthieuw", "key": "gduthieuw", "displayName": "Guile", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "gduthieuw", "key": "gduthieuw", "displayName": "Guile", "active": true, "timeZone": "Europe/Berlin" }, "environment": "Android 4.2.2 GA3.2.2", "comment": { "comments": [ { "id": "299995", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Moving this ticket to engineering as I can reproduce this issue with the provided test case on Android platform. Same test works fine on iOS platform.", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-04-06T06:44:15.000+0000", "updated": "2014-04-06T06:44:15.000+0000" }, { "id": "320975", "author": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Issue reproduces\r\n\r\nTitanium SDK version 3.4.0 master, 3.3.0.GA, 3.2.3.GA, 3.2.2.GA\r\nTitanium Studio, build: 3.3.0.201407100905\r\nTitanium Command-Line Interface\r\nCLI version 3.3.0, \r\nAndroid device : Motorola Moto G, Android version : 4.4.4\r\n", "updateAuthor": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-08-29T06:49:59.000+0000", "updated": "2014-08-29T06:49:59.000+0000" }, { "id": "422983", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "I am able to reproduce this issue with the following environment;\r\nPixel (7.1)\r\nStudio 4.9.0.201705302345\r\nTi SDK 6.1.1.v20170623141152\r\nAppc NPM 4.2.9\r\nAppc CLI 6.2.1\r\nTi CLI 5.0.13\r\nAlloy 1.9.11\r\nArrow 2.0.0\r\nXcode 8.2 (8C38)\r\nNode v4.8.2\r\nJava 1.8.0_131", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-06-27T20:30:17.000+0000", "updated": "2017-06-27T20:30:17.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }