Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-10728] iOS: Can't access an object which is a custom property of a view

GitHub Issuen/a
TypeBug
PriorityMedium
StatusReopened
ResolutionUnresolved
Affected Version/sRelease 2.1.1, Release 3.1.0, Release 3.2.3
Fix Version/sRelease 3.2.0
ComponentsiOS
LabelsParity, api, qe-3.2.3
ReporterNikhil Sharma
AssigneeUnknown
Created2012-08-30T17:45:40.000+0000
Updated2018-02-28T20:03:38.000+0000

Description

Can't access an object which is a custom property of a view. In iOS the value returned is . In android it's returning the correct value of the variable i.e 2.

Repo Steps

1. Add the attached files to your project. 2. Open the application and an alert box will display the value.

Attachments

FileDateSize
app.js2012-08-30T17:45:40.000+000092
Test.js2012-08-30T17:45:40.000+0000190

Comments

  1. Shameer Jan 2013-04-09

    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
  2. Shak Hossain 2014-02-11

    This issue can't be reproduced with TISDK 3.2 or higher. Therefore, marking it as resolved.
  3. Priya Agarwal 2014-04-17

    Used the attached code and Steps and Verified with below Test Environment: Appc-Studio:3.2.3.201404151910 sdk:3.3.0.v20140416200257 and 3.2.2.GA acs:1.0.14 alloy:1.3.1 npm:1.3.2 titanium:3.2.3-beta titanium-code-processor:1.1.1-beta1 xCODE:5.1.1 Device:Nexus7(v4.4.2),Iphone5(v7.1) On iOS still getting the value as "null" but on Android getting the return value as "2" Hence Reopening the issue.

JSON Source