{ "id": "100470", "key": "TIMOB-13349", "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": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2013-04-03T19:28:38.000+0000", "created": "2012-09-05T02:12:16.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-06-19T12:43:18.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": "12305", "name": "Core", "description": "Central component of the Platform (outside of Tooling, or platform specific implementation details)" } ], "description": "in [HTTPClient](https://github.com/Akylas/titanium_mobile/blob/master/android/modules/network/src/java/ti/modules/titanium/network/TiHTTPClient.java#L354) we put the blob into a field called \"blob\".\r\nI have no real problem with this, but in [TCPSocket](http://docs.appcelerator.com/titanium/3.0/#!/api/PumpCallbackArgs) (which actually uses Stream) the field is called \"buffer\".\r\nThey should coincide.\r\nActually this field in HTTPClient only exist on android,and is not documented.\r\nBut i use it in a pull request for a PersistentHTTPClient.\r\n\r\nif it doesnt seem to big of a deal, i will create a simple pull request", "attachment": [], "flagged": false, "summary": "Android: HTTPClient: ondatastream \"blob\" property does not coincide with TCPSocket ", "creator": { "name": "farfromrefuge", "key": "farfromrefuge", "displayName": "Martin Guillon", "active": false, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "farfromrefuge", "key": "farfromrefuge", "displayName": "Martin Guillon", "active": false, "timeZone": "Europe/Berlin" }, "environment": "titanium 2.2.0 (master)\r\nandroid 3.2", "comment": { "comments": [ { "id": "245061", "author": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi Martin,\r\n\r\nIf you could submit a pull request for this, that would be great, or if you could at least explain it along with some sample code, it's not too clear what you mean.\r\n\r\nThanks!", "updateAuthor": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-01T23:10:53.000+0000", "updated": "2013-04-01T23:10:53.000+0000" }, { "id": "245168", "author": { "name": "farfromrefuge", "key": "farfromrefuge", "displayName": "Martin Guillon", "active": false, "timeZone": "Europe/Berlin" }, "body": "Daniel: It simply a question of property name.\n\"data\" in TCPSocket represents the same thing as \"blob\" in HTTPClient\n\nAs i said i can create a pull request but i want to make sure it would be accepted first as it requires property name change!", "updateAuthor": { "name": "farfromrefuge", "key": "farfromrefuge", "displayName": "Martin Guillon", "active": false, "timeZone": "Europe/Berlin" }, "created": "2013-04-02T13:17:42.000+0000", "updated": "2013-04-02T13:17:42.000+0000" }, { "id": "245197", "author": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "body": "Hello Martin,\nthe only way to know if it will be accepted is just simply send it. If it's rejected they will give you a reason. \n\nOr drop by in the platform irc channel:\n\nTitanium developers regularly visit #titanium_app on irc.freenode.net.\n\nBest,\n\nMauro", "updateAuthor": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "created": "2013-04-02T16:06:41.000+0000", "updated": "2013-04-02T16:06:41.000+0000" }, { "id": "245227", "author": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi Martin,\n\nIt seems the line number you linked to in the description is now out of sync, please update it to the correct line.\n\nAlso link to the TCPSocket file and line number.\n\nI will then move it to TiMob.\n\nThanks!", "updateAuthor": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-02T19:17:49.000+0000", "updated": "2013-04-02T19:17:49.000+0000" }, { "id": "245403", "author": { "name": "farfromrefuge", "key": "farfromrefuge", "displayName": "Martin Guillon", "active": false, "timeZone": "Europe/Berlin" }, "body": "Daniel: I have updated the links but something really changed (i think since that bug ). I cant find \"data\" in TCPSocket anymore :s\nI see that it now uses a stream and su a buffer. So no really Blob anywhere.\nI wonder if it has changed or if i was just out of sleep :s\n\nIf you find this request to be invalidated now, please close it.\n\nThanks for your feedback", "updateAuthor": { "name": "farfromrefuge", "key": "farfromrefuge", "displayName": "Martin Guillon", "active": false, "timeZone": "Europe/Berlin" }, "created": "2013-04-03T06:47:58.000+0000", "updated": "2013-04-03T06:47:58.000+0000" }, { "id": "245509", "author": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Martin,\r\n\r\nI've closed the issue as invalid, but also moved it to TiMob to leave it under the radar of engineering.\r\n\r\nCheers.", "updateAuthor": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-03T19:28:38.000+0000", "updated": "2013-04-03T19:28:38.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }