{ "id": "76841", "key": "TIMOB-4890", "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": "11363", "description": "Mobile 1.8.0 M10", "name": "Sprint 2011-31", "archived": true, "released": true, "releaseDate": "2011-08-08" } ], "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2011-08-04T13:16:42.000+0000", "created": "2011-06-23T06:44:57.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "view" ], "versions": [], "issuelinks": [], "assignee": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-03T22:30:29.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": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "Properties of Titanium.UI.View members can not be deleted\r\n\r\n{code:javascript|title=app.js}\r\nvar myApp = {};\r\n\r\nmyApp.ui = {};\r\n\r\nmyApp.ui.createMyView = function() {\r\n var v = Ti.UI.createView({});\r\n v.abc = {a:1,b:2,c:3};\r\n return v;\r\n};\r\n\r\nvar testVar = {abc:{a:1,b:2,c:3}};\r\nvar myView = myApp.ui.createMyView();\r\n\r\nalert(JSON.stringify(myView.abc)); // {\"a\":1,\"b\":2,\"c\":3}\r\nalert(JSON.stringify(testVar.abc)); // {\"a\":1,\"b\":2,\"c\":3}\r\n\r\ndelete myView.abc.a;\r\ndelete testVar.abc.a;\r\n\r\nalert(JSON.stringify(myView.abc)); // {\"a\":1,\"b\":2,\"c\":3} !!!, shold be {\"b\":2,\"c\":3}\r\nalert(JSON.stringify(testVar.abc)); // {\"b\":2,\"c\":3} - OK\r\n{code}", "attachment": [], "flagged": false, "summary": "Properties of Titanium.UI.View members can not be deleted", "creator": { "name": "myurasov", "key": "myurasov", "displayName": "Mikhail Yurasov", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "myurasov", "key": "myurasov", "displayName": "Mikhail Yurasov", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "* Mac OS X 10.6.7\r\n* iOS Simulator (OS ver 4.3)\r\n* Titanium SDK: 1.7.1 06/21/11 14:28 1293a6d\r\n", "comment": { "comments": [ { "id": "161884", "author": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "updateAuthor": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "created": "2011-08-04T12:32:13.000+0000", "updated": "2011-08-04T12:32:44.000+0000" }, { "id": "161903", "author": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "updateAuthor": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-08-04T13:16:42.000+0000", "updated": "2011-08-04T13:16:42.000+0000" }, { "id": "408979", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing as duplicate.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-03T22:30:29.000+0000", "updated": "2017-03-03T22:30:29.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }