{ "id": "151140", "key": "TIMOB-19504", "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": "16925", "description": "WatchKit Support--all going into 5.0 now", "name": "Release 5.0.0", "archived": true, "released": true, "releaseDate": "2015-09-16" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2015-09-14T17:05:49.000+0000", "created": "2015-09-13T04:16:22.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "android" ], "versions": [ { "id": "16925", "description": "WatchKit Support--all going into 5.0 now", "name": "Release 5.0.0", "archived": true, "released": true, "releaseDate": "2015-09-16" } ], "issuelinks": [ { "id": "48987", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "151080", "key": "TIMOB-19490", "fields": { "summary": "Android: Error when accessing Actionbar", "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": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "48974", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "150791", "key": "TIMOB-19422", "fields": { "summary": "Android M: App crashes if using camera in device due to permissions", "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": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "48973", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "151080", "key": "TIMOB-19490", "fields": { "summary": "Android: Error when accessing Actionbar", "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": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "updated": "2015-09-15T00:36:09.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": "If you follow the actionbar example from the documentation http://docs.appcelerator.com/platform/latest/#!/api/Titanium.Android.ActionBar you will get the following error.\r\n\r\nUncaught Error: org.appcelerator.titanium.TiActivity cannot be cast to android.support.v7.app.ActionBarActivity\r\n", "attachment": [], "flagged": false, "summary": "Android: org.appcelerator.titanium.TiActivity cannot be cast to android.support.v7.app.ActionBarActivity", "creator": { "name": "ben.bahrenburg@gmail.com", "key": "ben.bahrenburg@gmail.com", "displayName": "Ben Bahrenburg", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "ben.bahrenburg@gmail.com", "key": "ben.bahrenburg@gmail.com", "displayName": "Ben Bahrenburg", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "closedSprints": [ { "id": 485, "state": "closed", "name": "2015 Sprint 19 SDK", "startDate": "2015-09-12T00:30:29.539Z", "endDate": "2015-09-26T00:30:00.000Z", "completeDate": "2015-09-28T02:29:14.458Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "363682", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi [~ben.bahrenburg@gmail.com] thanks for the report. Note I made minor updates to the ticket to better reflect the error, and please only set severity (i.e. blocker), not priority.\r\n\r\n[~hpham] [~cng] [~msamah], please review ASAP.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-09-13T04:27:58.000+0000", "updated": "2015-09-13T04:27:58.000+0000" }, { "id": "363726", "author": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "updateAuthor": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "created": "2015-09-14T02:23:13.000+0000", "updated": "2015-09-14T02:23:13.000+0000" }, { "id": "363727", "author": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "body": "This was already reverted by PR https://github.com/appcelerator/titanium_mobile/pull/7149\r\n\r\nConfirmed this with the current 5_0_X branch with the test code:-\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n title: \"Old Title\"\r\n});\r\nvar actionBar;\r\n \r\nwin.addEventListener(\"open\", function() {\r\n if (Ti.Platform.osname === \"android\") {\r\n if (! win.activity) {\r\n Ti.API.error(\"Can't access action bar on a lightweight window.\");\r\n } else {\r\n actionBar = win.activity.actionBar;\r\n if (actionBar) {\r\n actionBar.title = \"New Title\";\r\n }\r\n }\r\n }\r\n});\r\n \r\nwin.open();\r\n{code}\r\n\r\n[~ben.bahrenburg@gmail.com], Thanks for the report.", "updateAuthor": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "created": "2015-09-14T02:44:43.000+0000", "updated": "2015-09-14T02:44:43.000+0000" }, { "id": "363843", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~msamah] thanks. Reminder to use \"Fixed\" and not \"Done\"", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-09-14T22:20:48.000+0000", "updated": "2015-09-14T22:20:48.000+0000" }, { "id": "363860", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix.\r\n\r\nThe app with action bar builds & displays the action bar successfully with build 5.0.0.v20150914163105.\r\n\r\nClosing.\r\n\r\nEnvironment:\r\nAppc Studio : 4.3.0.201509140942\r\nTi SDK : 5.0.0.v20150914163105\r\nTi CLI : 5.0.3\r\nAlloy : 1.7.7\r\nMAC Yosemite : 10.10.4\r\nAppc NPM : 4.2.0-8\r\nAppc CLI : 5.0.0-51\r\nNode: v0.10.37\r\nNexus 5 - Android 5.1.1", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-09-15T00:35:57.000+0000", "updated": "2015-09-15T00:35:57.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }