{ "id": "61638", "key": "TIMOB-1006", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "11224", "name": "Release 1.4.0", "archived": true, "released": true, "releaseDate": "2010-07-16" } ], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2011-04-15T02:41:23.000+0000", "created": "2011-04-15T02:41:22.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "android", "currentwindow", "defect" ], "versions": [], "issuelinks": [], "assignee": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-02T18:41:50.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "{html}

Platform 1.3.0 OS MacOSX/WinXP, iPhone emulator 3.1.3, android\nemulator 2.1

\n

Both platforms are affected. In app.js I have variable \"a\"\nshared with other children windows using Titanium.UI.currentWindow\nmethod. The problem is I can't modify value of this property in one\nchild window and access this value in other. Different tricks\nlike

\n
\nvar a = {\n  b = '';\n}
\n
\n\n\n
\nTitanium.UI.currentWindow.a.b = 'Some value';
\n
\nalso don't work. This issue together with bug #1005 makes\nTitanium on Android unusable, I can't find a way to pass data from\none window to another
{html}", "attachment": [], "flagged": false, "summary": "Variables shared with currentWindow are readonly", "creator": { "name": "konstantin", "key": "konstantin", "displayName": "Konstantin", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "konstantin", "key": "konstantin", "displayName": "Konstantin", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "124556", "author": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Use properties for now when possible. This is a duplicate of\n#915

{html}", "updateAuthor": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:41:23.000+0000", "updated": "2011-04-15T02:41:23.000+0000" }, { "id": "408369", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing as invalid.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-02T18:41:50.000+0000", "updated": "2017-03-02T18:41:50.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }