Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-9700] iOS: custom property on TiView object cannot be changed

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionWon't Fix
Resolution Date2017-05-22T21:14:55.000+0000
Affected Version/sRelease 2.1.0, Release 3.1.0
Fix Version/sn/a
ComponentsiOS
Labelsanvil, core
ReporterMax Stepanov
AssigneeEric Merriman
Created2012-06-21T13:23:12.000+0000
Updated2017-05-23T20:37:17.000+0000

Description

var testRun = {};
function valueOf(test, actual) {
	return {
		shouldBe : function(expected) {
				Ti.API.info("expected: <"+expected+">, actual: <"+actual+">");
		}
	};
}

var view = Ti.UI.createView();
view.customObj = { test: 'hello'};
view.customObj.test = "hello2";
valueOf(testRun, view.customObj.test).shouldBe("hello2");
Anvil suite/test: kroll - customObjects

Comments

  1. Opie Cyrus 2012-08-06

    Does this work in a stand alone test case or is this suspected as a problem with the Anvil framework?
  2. Blain Hamon 2012-08-23

    Remember the one test that iOS always failed in Kroll back in Drillbit? That's this test. It's because of how Kroll on iOS does a copy on read, copy on write.
  3. jithinpv 2013-04-11

    Issue reproduces Tested with Titanium Studio, build: 3.0.1.201212181159 Titanium SDK version: 3.1.0 Titanium SDK version: 3.0.2 iOS iPhone Simulator: iOS SDK version: 6.0
  4. Lee Morris 2017-05-22

    Resolving as "Won't Fix" as we no longer support Drillbit.

JSON Source