{ "id": "121425", "key": "TIMOB-15543", "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": [], "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2016-11-02T12:23:24.000+0000", "created": "2013-10-21T11:38:44.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "qe-3.2.0" ], "versions": [ { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "issuelinks": [], "assignee": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-22T22:18:41.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": "The default value of a view added to a window is \"undefined\".\r\n\r\nThis is not a regression.\r\n\r\nSteps to reproduce:\r\n1. Create an application with code below and launch the application\r\n2. Click on Show/Hide button\r\n\r\nActual: An alert with value \"undefined\" is shown which is the value of visible property of view.\r\n\r\nExpected: The value should be returned as \"true\"\r\n\r\n{code}\r\nvar _window = Ti.UI.createWindow({\r\n\t\tbackgroundColor:'white'\r\n\t\t});\r\n\r\n\t\tvar view = Ti.UI.createView({\r\n\t\t\tbackgroundColor:'red',\r\n\t\t\twidth:100,\r\n\t\t\theight:100,\r\n\t\t\ttop:20\r\n\t\t});\r\n\t\t_window.add(view);\r\n\t\t\r\n\t\tvar b = Ti.UI.createButton({\r\n\t\t\ttitle:'Show/hide',\r\n\t\t\twidth:140,\r\n\t\t\theight:40,\r\n\t\t\ttop:160\r\n\t\t});\r\n\t\t\r\n\t\tb.addEventListener('click', function() {\r\n\t\t\talert('Visible: '+view.visible);\r\n\t\t\tif (view.visible) {\r\n\t\t\t\tview.hide();\r\n\t\t\t}\r\n\t\t\telse {\r\n\t\t\t\tview.show();\r\n\t\t\t}\r\n\t\t});\r\n\t\t_window.add(b);\r\n\t\t_window.open();\r\n{code}", "attachment": [], "flagged": false, "summary": "iOS: Views: The visible property of a view is undefined by default", "creator": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Appc-Studio: 3.2.0.201310181700\r\nSdk:3.2.0.v20131018154951\r\nalloy:1.2.2\r\nnpm:1.3.2\r\ntitanium:3.2.0\r\ntitanium-code-processor:1.0.3\r\nDevice:Google Nexus 7(v4.3),iphone5(V 7),Ipad Mini(v6.0)\r\nXcode: 5\r\n", "comment": { "comments": [ { "id": "301847", "body": "This issue was previously scheduled to be worked on in more than one sprint:\r\n* 'Release 3.1.2' (on board '3.1.X Triage')\r\n* 'Release 3.0.1/TS 3.0.2' (on board '3.1.0 Triage')\r\n\r\nStarting from JIRA Agile 6.3, an issue can only belong to a single future sprint. Read more about this change: http://docs.atlassian.com/agile/docs-0630/Sprint+Marker+Migration\r\n\r\nThis issue is now scheduled for future sprint 'Release 3.1.2' (on board '3.1.X Triage').\r\n\r\nIf this is incorrect, please update the issue accordingly.\r\n\r\nThis comment was automatically generated by JIRA. If it is no longer relevant, please feel free to delete it.", "created": "2014-04-21T15:32:17.000+0000", "updated": "2014-04-21T15:32:17.000+0000" }, { "id": "317696", "author": { "name": "shameerj", "key": "shameerj", "displayName": "Shameer Jan", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Issue reproduces \r\nTitanium Command-Line Interface, \r\nCLI version 3.3.0, \r\nTitanium SDK version 3.3.0.GA \r\niOS SDK: 7.1 \r\niOS iPhone Simulator: 7.1", "updateAuthor": { "name": "shameerj", "key": "shameerj", "displayName": "Shameer Jan", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-08-08T10:53:58.000+0000", "updated": "2014-08-08T10:53:58.000+0000" }, { "id": "400248", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Duplicate (and fixed this days) of TIMOB-16357", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-11-02T12:23:24.000+0000", "updated": "2016-11-02T12:23:24.000+0000" }, { "id": "415110", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as duplicate and links to the related ticket have been provided above.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-22T22:18:41.000+0000", "updated": "2017-03-22T22:18:41.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }