Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Low
-
Resolution: Won't Fix
-
Affects Version/s: Release 3.1.0
-
Fix Version/s: 2013 Sprint 07 API, 2013 Sprint 07
-
Component/s: Android
-
Labels:
-
Environment:
Mac OS 10.8.3
CLI: 3.1.0-beta
Appcelerator Studio, build: 3.1.0.201304022134
Titanium SDK version 3.1.0.v20130404133052
Android Emulator 4.2
Description
Description:
A report came in from the field regarding a runtime error generated when attempting to open a tab with Titanium.UI.currentTab.open(). The behavior is that calling open in this way does not open a tab, but opens a new heavyweight window. On that window, when trying to open another tab in the same manner, a runtime error is generated because Titanium.UI.currentTab is null since not in a tabgroup.
Please visit github.com/veamon/Tabs for code.
Steps to reproduce:
1) Install project from github and launch
2) Note you are in tab group. Click "next"
3) Note you are not in tab group. Click "next"
Result:
Runtime error.
Expected Result:
If comparing to iOS, expect to stay in tab group and instead of runtime error, a new tab is opened.