{ "id": "168484", "key": "TIMOB-24846", "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": [ { "id": "20238", "description": "", "name": "Release 7.5.0", "archived": false, "released": true, "releaseDate": "2018-11-15" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2018-12-27T01:01:11.000+0000", "created": "2017-06-19T11:14:06.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [ { "id": "17608", "name": "Release 6.1.0", "archived": false, "released": true, "releaseDate": "2017-05-26" }, { "id": "19572", "description": "Important fixes for 6.1.0", "name": "Release 6.1.1", "archived": false, "released": true, "releaseDate": "2017-06-16" } ], "issuelinks": [], "assignee": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2018-12-27T01:01:11.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "12642", "name": "Windows", "description": "Windows authoring support" } ], "description": "Hello,\r\n\r\nIf accesstoken (set as RequestHeader) like this expression.\r\n\r\nclient.setRequestHeader(\"Authorization\", \"OAuth \" + \"00DN0000000Ap4u!AQ4AQIawfQBbd5YmcWpk5GEa7NjiLaQyP0m6phLLPM79L6KhSxxHYsIVNiOWo.RwNN0PIg\");\r\n\r\nthen client.send() request method is making crash on Windows 10.\r\n\r\n*Testing environment:*\r\nAppcelerator Command-Line Interface, version 6.2.2\r\nTitanium SDK: 6.1.0.GA\r\nMobile Emulator 10.0.14393.0 1080p 6 inch 2GB \r\nOperating System: Microsoft Windows 10 Pro Version = 10.0.15063 Architecture = 32bit\r\n\r\n*Test Code:*\r\n{code}\r\nfunction syncTestForAppcelerator()\r\n{\r\n\r\nvar url = \"http://www.appcelerator.com\";\r\n\r\nvar client = Ti.Network.createHTTPClient({\r\n\r\n// function called when the response data is available\r\n\r\nonload : function(e) {\r\n\r\nTi.API.info(\"Received text: \" + this.responseText);\r\n\r\nalert('success');\r\n\r\n},\r\n\r\n// function called when an error occurs, including a timeout\r\n\r\nonerror : function(e) {\r\n\r\nTi.API.debug(e.error);\r\n\r\nalert('error');\r\n\r\n},\r\n\r\ntimeout : 5000 // in milliseconds\r\n\r\n});\r\n\r\n//Set Header\r\n\r\nclient.setRequestHeader(\"content-type\", \"application/json\");\r\n\r\nclient.setRequestHeader(\"Authorization\", \"OAuth \" + \"00DN0000000Ap4u!AQ4AQIawfQBbd5YmcWpk5GEa7NjiLaQyP0m6phLLPM79L6KhSxxHYsIVNiOWo.RwNN0PIg\");\r\n\r\n// Prepare the connection.\r\n\r\nclient.open(\"GET\", url);\r\n\r\n// Send the request.\r\n\r\nclient.send();\r\n\r\n}\r\n{code}\r\n\r\n*Testing Results:*\r\nThe output log attached in the attachment file.(OutPut_log)\r\n\r\nThanks", "attachment": [ { "id": "62915", "filename": "Error.png", "author": { "name": "jnaher", "key": "jnaher", "displayName": "Jebun Naher", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2017-07-24T10:33:53.000+0000", "size": 20316, "mimeType": "image/png" }, { "id": "62692", "filename": "OutPut_log", "author": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2017-06-19T11:11:10.000+0000", "size": 43342, "mimeType": "text/html" } ], "flagged": false, "summary": "Windows: in the Ti.Network.createHTTPClient, the send() request method is making crash", "creator": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "subtasks": [], "reporter": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "environment": null, "comment": { "comments": [ { "id": "444862", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing as Fixed, confirmed that this does not crash on 7.5.0.GA. Feel free to reopen if that's not the case.", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2018-12-27T01:01:11.000+0000", "updated": "2018-12-27T01:01:11.000+0000" } ], "maxResults": 12, "total": 12, "startAt": 0 } } }