{ "id": "64828", "key": "TIMOB-3750", "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": "11244", "name": "Release 1.7.0", "archived": true, "released": true, "releaseDate": "2011-06-13" }, { "id": "11252", "name": "Sprint 2011-17", "archived": true, "released": true, "releaseDate": "2011-05-02" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-05-13T17:15:43.000+0000", "created": "2011-04-26T17:57:09.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "ti.stream" ], "versions": [ { "id": "11252", "name": "Sprint 2011-17", "archived": true, "released": true, "releaseDate": "2011-05-02" } ], "issuelinks": [], "assignee": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-05-13T17:15: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": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "General agreement is that the stream spec was incomplete wrt BufferStream and BlobStream. In particular, they should take a mode which specifies whether they are 'read', 'write', or 'append'. In particular:\n\n- 'Ti.Stream.MODE_READ' should read from the current position\n- 'Ti.Stream.MODE_WRITE' should write to the current position\n- 'Ti.Stream.MODE_APPEND' should append to end of data\n- 'Ti.Stream.createBuffer()' now takes a box object, with keys 'source' (data source) and 'mode' (mode). Both are required.\n-- Data streams created from Blobs can only be MODE_READ\n-- Data streams cannot have mixed modes (i.e. no MODE_READ | MODE_WRITE)", "attachment": [], "flagged": false, "summary": "Change Ti.Stream.createStream() to take a 'mode'", "creator": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "132897", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Resolved by 3e7e251.", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-27T19:25:57.000+0000", "updated": "2011-04-27T19:25:57.000+0000" }, { "id": "133564", "author": { "name": "jacobrelkin", "key": "jacobrelkin", "displayName": "Jacob Relkin", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Stream drillbit tests pass - in the basicBufferStream test, we call Ti.Stream.createStream, passing in a mode, thereby verifying this fix.", "updateAuthor": { "name": "jacobrelkin", "key": "jacobrelkin", "displayName": "Jacob Relkin", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-05-13T17:15:43.000+0000", "updated": "2011-05-13T17:15:43.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }