{ "id": "138394", "key": "AC-1317", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "8", "description": "", "name": "Needs more info" }, "resolutiondate": "2015-04-10T00:13:09.000+0000", "created": "2014-10-22T20:00:07.000+0000", "labels": [ "TCSupportTriage" ], "versions": [], "issuelinks": [], "assignee": { "name": "rtlechuga", "key": "rtlechuga", "displayName": "Radamantis Torres-Lechuga", "active": false, "timeZone": "Asia/Dubai" }, "updated": "2016-03-08T07:37:43.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": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "TiHttpClient does not properly handle write errors. For instance, if there is no space left on the device, writing the downloaded stream to the storage will fail. The exception is caught inside the TiHttpClient code but is largely ignored and not propagated to the javascript side. The download continues even if the file on disk is corrupted and will even terminate succesfully when the whole stream is received.\r\n\r\nSee line 312 of https://github.com/appcelerator/titanium_mobile/blob/master/android/modules/network/src/java/ti/modules/titanium/network/TiHTTPClient.java \r\n", "attachment": [], "flagged": false, "summary": "TiHttpClient does not properly handle write errors", "creator": { "name": "s.stefanek", "key": "s.stefanek", "displayName": "Szymon Tomasz Stefanek", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "s.stefanek", "key": "s.stefanek", "displayName": "Szymon Tomasz Stefanek", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Titanium 3.4.0 GA\r\nAndroid\r\nTitanium Studio running on Linux", "comment": { "comments": [ { "id": "349129", "author": { "name": "s.stefanek", "key": "s.stefanek", "displayName": "Szymon Tomasz Stefanek", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hum... what kind of info you need?\r\nTo me the problem seems clear by simply looking at the source.", "updateAuthor": { "name": "s.stefanek", "key": "s.stefanek", "displayName": "Szymon Tomasz Stefanek", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-04-10T02:27:02.000+0000", "updated": "2015-04-10T02:27:02.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }