{ "id": "111696", "key": "TIMOB-13213", "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": null, "resolutiondate": null, "created": "2013-03-26T07:14:33.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "reprod" ], "versions": [ { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" } ], "issuelinks": [ { "id": "56881", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "172171", "key": "TIMOB-26354", "fields": { "summary": "Android: Refactor TabGroup and introduce new style", "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" } }, "priority": { "name": "Low", "id": "4" }, "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } } } ], "assignee": null, "updated": "2018-09-28T15:06:27.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "When a label is passed to a tab group's addTab method, Exception is expected but no exception is displayed.\r\nThis is not a regression.It exists on 3.0.2 GA as well.\r\n\r\nSteps to reproduce:\r\n1) Add the following to app.js and run the app.\r\n\r\nvar tabs = Ti.UI.createTabGroup();\r\ntabs.addTab(Ti.UI.createLabel());\r\ntabs.open();\r\n\r\nExpected:\r\nA classCastException should occur.\r\nE/TiApplication(8640): (main) [5973,6039] Sending event: exception on thread: main msg:java.lang.ClassCastException: ti.modules.titanium.ui.LabelProxy; Titanium 1.8.1,2012/01/27 17:31,a24502a\r\nE/TiApplication(8640): java.lang.ClassCastException: ti.modules.titanium.ui.LabelProxy\r\n\r\nActual:\r\nNo exception is occurred.", "attachment": [], "flagged": false, "summary": "Android: Adding label to TabGroup addTab method, No Exception is thrown", "creator": { "name": "pmishra", "key": "pmishra", "displayName": "Paras Mishra", "active": true, "timeZone": "Asia/Kolkata" }, "subtasks": [], "reporter": { "name": "pmishra", "key": "pmishra", "displayName": "Paras Mishra", "active": true, "timeZone": "Asia/Kolkata" }, "environment": "Android Version : 4.0.4\r\nSDK: 3.1.0.v20130325155928, \r\nCLI version : 3.0.25-alpha\r\nOS : MAC OSX 10.8.2", "comment": { "comments": [ { "id": "310412", "author": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Issue still reproducible on \r\n\r\nAppcelerator-Studio:3.3.0.201406171619\r\nSdk:3.3.0.v20140620194913\r\nacs:1.0.14\r\nalloy:1.4.0-rc2\r\nnpm:1.3.2\r\ntitanium:3.3.0-rc2\r\ntitanium-code-processor:1.1.1\r\nxcode:5.1.1\r\nOS:Maverick(10.9.3)\r\nDevice:Nexus5(v4.4.3)", "updateAuthor": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-06-23T06:33:35.000+0000", "updated": "2014-06-23T06:33:35.000+0000" }, { "id": "422959", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "I am able to reproduce this issue with the following environment;\r\nPixel (7.1)\r\nStudio 4.9.0.201705302345\r\nTi SDK 6.1.1.v20170623141152\r\nAppc NPM 4.2.9\r\nAppc CLI 6.2.1\r\nTi CLI 5.0.13\r\nAlloy 1.9.11\r\nArrow 2.0.0\r\nXcode 8.2 (8C38)\r\nNode v4.8.2\r\nJava 1.8.0_131", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-06-27T18:13:05.000+0000", "updated": "2017-06-27T18:13:05.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }