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

iOS: App is crashing for null check in JavaScript variables

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: Release 3.5.0
    • Fix Version/s: Release 3.5.0, Release 4.0.0
    • Component/s: iOS
    • Environment:

      Titanium SDK: 3.5.0.v20141202100219
      Appc-Studio: 3.4.1 GA
      Titanium CLI: 3.4.1 GA
      Alloy : 1.5.1 GA
      Xcode : 6.1
      OS: OSX 10.10.1
      Device : iPhone 6plus (iOS 8.1)

    • Sprint:
      2018 Sprint 05 SDK

      Description

      Titanium Apps are crashing when object null checks are used inside app.js file.
      This is a regression since same code works fine in 3.4.1

      Steps To Reproduce

      1. Create an app using following code

      var b = null;
      if (b != null) 
      { 
      	// do something
      }
      

      2. Run the App in iOS device with 3.5.0 SDK

      Actual Result

      App is crashing

      Expected Result

      App should not crash.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                vduggal Vishal Duggal (Inactive)
                Reporter:
                kvelummaylum Kajenthiran Velummaylum
                Tester:
                Kajenthiran Velummaylum
              • Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

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

                    Git Integration