[TIMOB-27785] Buffer: Proxy object's 'set' trap returned falsy value for property '0'
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | None |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2020-04-01T13:26:55.000+0000 |
Affected Version/s | Release 9.0.0 |
Fix Version/s | Release 9.1.0 |
Components | Core |
Labels | n/a |
Reporter | Jan Vennemann |
Assignee | Jan Vennemann |
Created | 2020-03-02T14:48:42.000+0000 |
Updated | 2020-04-01T13:26:55.000+0000 |
Description
*Steps to reproduce the behavior*
(function () {
'use strict';
const b = Buffer.alloc(1);
b[0] = 0;
})();
*Expected behavior*
The value will be set.
*Actual behavior*
Setting the value fails with the following error message: Proxy object's 'set' trap returned falsy value for property '0'
PR: https://github.com/appcelerator/titanium_mobile/pull/11512
*FR Passed* *Test Environment* Studio Ver: 5.1.4.201909061933 SDK Ver: 9.0.0.v20200304064118 OS Ver: 10.14.6 Xcode Ver: Xcode 11.3.1 Appc CLI: 7.1.2 Daemon Ver: 1.1.3 Alloy Ver: 1.14.4 Node Ver: 10.17.0 Emulators: All iOS 13 iPhone simulators. My testing has found that this bug affects only iOS 13 devices. < iOS 13 there is no error and result displays as expected. PR ready to be merged, waiting for Jenkins.
*Closing ticket.* New feature verified in SDK version
9.1.0.v20200331065959
. Test and other information can be found at: https://github.com/appcelerator/titanium_mobile/pull/11512