[AC-2223] iOS: append for blobs is broken
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2012-11-07T19:58:26.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Titanium SDK & CLI |
Labels | ios, triage |
Reporter | Dave Patton |
Assignee | Mauro Parra-Miranda |
Created | 2012-10-25T16:45:37.000+0000 |
Updated | 2016-03-08T07:41:13.000+0000 |
Description
Using Mac OS version 10.0.8
Running Titanium with the Iphone Simulator
Titanium SDK 2.1.3.GA
Deployment Targets: Iphone, Android, Mobile Web
The following code blows up on the line encodedBlob.append(encodedBlob2);..
var buf1 = Ti.createBuffer({ value: "1234567890" });
var buf2 = Ti.createBuffer({ value: "1234567890" });
var encodedBlob = buf1.toBlob();
var encodedBlob2 = buf2.toBlob();
encodedBlob.append(encodedBlob2);
Hi Dave, According 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? Cheers.
Only reproducible on iOS, which as the docs state does not support the append method.
Invalid issue.