{ "id": "103915", "key": "AC-2223", "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": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2012-11-07T19:58:26.000+0000", "created": "2012-10-25T16:45:37.000+0000", "labels": [ "ios", "triage" ], "versions": [], "issuelinks": [], "assignee": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "updated": "2016-03-08T07:41:13.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": "Using Mac OS version 10.0.8\r\nRunning Titanium with the Iphone Simulator\r\nTitanium SDK 2.1.3.GA\r\nDeployment Targets: Iphone, Android, Mobile Web\r\n\r\nThe following code blows up on the line encodedBlob.append(encodedBlob2);..\r\n\r\n\r\n\t\tvar buf1 = Ti.createBuffer({ value: \"1234567890\" });\r\n\t\tvar buf2 = Ti.createBuffer({ value: \"1234567890\" });\r\n\t\tvar encodedBlob = buf1.toBlob();\r\n\t\tvar encodedBlob2 = buf2.toBlob();\r\n\t\tencodedBlob.append(encodedBlob2);\r\n", "attachment": [], "flagged": false, "summary": "iOS: append for blobs is broken", "creator": { "name": "dave@dumaexotics.com", "key": "dave@dumaexotics.com", "displayName": "Dave Patton", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "dave@dumaexotics.com", "key": "dave@dumaexotics.com", "displayName": "Dave Patton", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Iphone Simulator", "comment": { "comments": [ { "id": "226161", "author": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi Dave,\nAccording to the docs http://docs.appcelerator.com/titanium/2.1/index.html#!/api/Titanium.Blob \"Android and Mobile Web support an append method, but otherwise blobs are immutable.\" So do you notice this behavior on just iOS, or on Android and Mobile Web too?\nCheers.", "updateAuthor": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-11-05T18:52:39.000+0000", "updated": "2012-11-05T18:52:39.000+0000" }, { "id": "226577", "author": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Only reproducible on iOS, which as the docs state does not support the append method.", "updateAuthor": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-11-07T19:58:26.000+0000", "updated": "2012-11-07T19:58:26.000+0000" }, { "id": "280991", "author": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "body": "Invalid issue. ", "updateAuthor": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "created": "2013-11-24T22:18:34.000+0000", "updated": "2013-11-24T22:18:34.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }