{ "id": "99137", "key": "TIMOB-10430", "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": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2016-10-18T19:28:09.000+0000", "created": "2012-08-13T18:37:53.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "api", "parity", "qe-ios082012" ], "versions": [ { "id": "13273", "description": "Release 2.0.2", "name": "Release 2.0.2", "archived": false, "released": true, "releaseDate": "2012-05-31" }, { "id": "13271", "description": "Release 2.1.0", "name": "Release 2.1.0", "archived": false, "released": true, "releaseDate": "2012-06-29" }, { "id": "13272", "description": "Release 2.0.1", "name": "Release 2.0.1", "archived": true, "released": true, "releaseDate": "2012-04-16" }, { "id": "13572", "description": "Release 2.1.1", "name": "Release 2.1.1", "archived": true, "released": true, "releaseDate": "2012-07-31" }, { "id": "14096", "description": "Release 2.1.2", "name": "Release 2.1.2", "archived": true, "released": true, "releaseDate": "2012-08-31" }, { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" } ], "issuelinks": [ { "id": "19919", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "63232", "key": "TIMOB-2600", "fields": { "summary": "iOS: invalid method (createTabGroup) passed to UIModule at app.js", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "priority": { "name": "Low", "id": "4" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-23T21:33:13.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": "Adding a tabGroup as a property of a window or a tabGroup results in an undefined value.\r\n\r\nThis does not occur in Android or MobileWeb.\r\n\r\nThis is not a regression.\r\n\r\nLogs:\r\n\r\n{code}\r\niOS Console Log\r\n\r\n[INFO] x.win == [object TiUIWindow]\r\n[INFO] tabGroup.win == [object TiUIWindow]\r\n[INFO] label.win == [object TiUIWindow]\r\n[INFO] win.win == [object TiUIWindow]\r\n[INFO] win.tabGroup == undefined\r\n[INFO] label.tabGroup == [object TiUITabGroup]\r\n[INFO] x.tabGroup == [object TiUITabGroup]\r\n[INFO] tabGroup.tabGroup == undefined\r\n\r\nAndroid Console Log\r\n\r\n[INFO][TiAPI ( 407)] x.win == [object TiBaseWindow]\r\n[INFO][TiAPI ( 407)] tabGroup.win == [object TiBaseWindow]\r\n[INFO][TiAPI ( 407)] label.win == [object TiBaseWindow]\r\n[INFO][TiAPI ( 407)] win.win == [object TiBaseWindow]\r\n[INFO][TiAPI ( 407)] win.tabGroup == [object TabGroup]\r\n[INFO][TiAPI ( 407)] label.tabGroup == [object TabGroup]\r\n[INFO][TiAPI ( 407)] x.tabGroup == [object TabGroup]\r\n[INFO][TiAPI ( 407)] tabGroup.tabGroup == [object TabGroup]\r\n\r\nMobileWeb Console Log\r\n\r\n[INFO] x.win == [object TiUIWindow] index.html:11196\r\n[INFO] tabGroup.win == [object TiUIWindow] index.html:11196\r\n[INFO] label.win == [object TiUIWindow] index.html:11196\r\n[INFO] win.win == [object TiUIWindow] index.html:11196\r\n[INFO] win.tabGroup == [object TiUITabGroup] index.html:11196\r\n[INFO] label.tabGroup == [object TiUITabGroup] index.html:11196\r\n[INFO] x.tabGroup == [object TiUITabGroup] index.html:11196\r\n[INFO] tabGroup.tabGroup == [object TiUITabGroup] \r\n{code}\r\n\r\nSteps to Reproduce:\r\n\r\n1. Run Code:\r\n\r\n{code}\r\nvar win = Ti.UI.createWindow();\r\nvar tabGroup = Ti.UI.createTabGroup();\r\nvar label = Ti.UI.createLabel();\r\nvar x = {};\r\n\r\nx.win = win;\r\ntabGroup.win = win;\r\nlabel.win = win;\r\nwin.win = win;\r\nwin.tabGroup = tabGroup;\r\nlabel.tabGroup = tabGroup;\r\nx.tabGroup = tabGroup;\r\ntabGroup.tabGroup = tabGroup;\r\n\r\nTi.API.info('x.win == ' + x.win);\r\nTi.API.info('tabGroup.win == ' + tabGroup.win);\r\nTi.API.info('label.win == ' + label.win);\r\nTi.API.info('win.win == ' + win.win);\r\nTi.API.info('win.tabGroup == ' + win.tabGroup);\r\nTi.API.info('label.tabGroup == ' + label.tabGroup);\r\nTi.API.info('x.tabGroup == ' + x.tabGroup);\r\nTi.API.info('tabGroup.tabGroup == ' + tabGroup.tabGroup);\r\n\r\nalert('View Log Info...');\r\n{code}\r\n\r\nActual Result:\r\n\r\nsome properties have undefined values\r\n\r\nExpected Result:\r\n\r\nall properties should be the assigned type", "attachment": [], "flagged": false, "summary": "iOS: cannot add tabGroup as a property of a window or a tabGroup", "creator": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Titanium Studio: 2.1.1\r\nTitanium SDK: 2.1.2.v20120809183109, 2.1.1, 2.1.0, 2.0.2, 2.0.1\r\nOS: Mountain Lion\r\nDevices Tested: iPhone Simulator 5.1/5.0, Android Emulator 2.2, MobileWeb Preview Chrome\r\nDevices Affected: iPhone Simulator 5.1/5.0", "comment": { "comments": [ { "id": "214460", "author": { "name": "tsmolich", "key": "tsmolich", "displayName": "Tamila Smolich", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Some properties have undefined values, when test on iOS Simulator on:\r\nOS: Mac OS X Lion 10.7.4\r\nTitanium Studio, build: 2.1.1.201208091713\r\nTitanium SDK, build: 2.2.0.v20120813184911; 2.1.1.GA; 2.0.2.GA\r\n\r\nRunning app on devices (iPad 2 (5.1.1) and iPhone 4 (4.3.5)) gets an Application Error \"invalid method (create TabGroup) passed to UIModule at app.js (line 2)\"\r\n\r\niOS console log:\r\n[ERROR] Script Error = invalid method (createTabGroup) passed to UIModule at app.js (line 2).\r\n\r\n", "updateAuthor": { "name": "tsmolich", "key": "tsmolich", "displayName": "Tamila Smolich", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-08-14T15:30:00.000+0000", "updated": "2012-08-14T15:30:00.000+0000" }, { "id": "214474", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Reopening TIMOB-2600 to address the build to device runtime behavior.", "updateAuthor": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-08-14T16:04:55.000+0000", "updated": "2012-08-14T16:04:55.000+0000" }, { "id": "244265", "author": { "name": "shameerj", "key": "shameerj", "displayName": "Shameer Jan", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Issue reproduces \n\nTested with\n\nTitanium Studio, build: 3.0.1.201212181159\nTitanium SDK version: 3.1.0 \nTitanium SDK version: 3.0.2 \niOS iPhone Simulator: iOS SDK version: 6.0\n", "updateAuthor": { "name": "shameerj", "key": "shameerj", "displayName": "Shameer Jan", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-27T08:51:17.000+0000", "updated": "2013-03-27T08:51:17.000+0000" }, { "id": "399283", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "A TabGroup is a top-level container like the Window, so it should not be added to another top-level container. The same isn't allowed natively as well as apps that try this might be rejected by Apple.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-10-18T19:28:09.000+0000", "updated": "2016-10-18T19:28:09.000+0000" }, { "id": "415401", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as invalid with reference to the previous comments.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-23T21:33:13.000+0000", "updated": "2017-03-23T21:33:13.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }