Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-13409

Android: Titanium.UI.currentTab.open(); parity issue on Android

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Low
    • Resolution: Won't Fix
    • Affects Version/s: Release 3.1.0
    • 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.

        Attachments

          Activity

            People

            • Assignee:
              vduggal Vishal Duggal (Inactive)
              Reporter:
              emerriman Eric Merriman
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Titanium SDK/CLI <> Titanium Mobile
                  Synced with:
                  TIMOB-16150
                  Sync status:
                  ERROR
                  Last received:
                  Last sent:

                  Git Source Code