Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-27785] Buffer: Proxy object's 'set' trap returned falsy value for property '0'

GitHub Issuen/a
TypeBug
PriorityNone
StatusClosed
ResolutionFixed
Resolution Date2020-04-01T13:26:55.000+0000
Affected Version/sRelease 9.0.0
Fix Version/sRelease 9.1.0
ComponentsCore
Labelsn/a
ReporterJan Vennemann
AssigneeJan Vennemann
Created2020-03-02T14:48:42.000+0000
Updated2020-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'

Comments

  1. Jan Vennemann 2020-03-02

    PR: https://github.com/appcelerator/titanium_mobile/pull/11512
  2. Sohail Saddique 2020-03-16

    *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.
  3. Samir Mohammed 2020-04-01

    *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

JSON Source