Titanium

[ALOY-1344] App crash on controller.close when the searchBar has focus

GitHub Issuen/a
TypeBug
PriorityCritical
StatusResolved
ResolutionNot Our Bug
Resolution Date2016-02-10T00:28:24.000+0000
Affected Version/salloy 1.7.30
Fix Version/sn/a
Componentsn/a
LabelssupportTeam
Reporterdbenhenni
AssigneeFeon Sua Xin Miao
Created2015-12-17T07:29:11.000+0000
Updated2016-02-10T00:28:24.000+0000

Description

Steps to Reproduce

create a window with a 'close'-Button a simple action: $.getView().close(); after that create a simple listView (I used Alloy) with a searchbar. When you run this on iPad and your searchView has focus and you click now (with the focussed searchbar) the close-Button. The app crashes without giving any errorMessage in the console.

Actual Result

when I'm focussing the SearchBar of my ListView and click on my 'close-Button' (including the following code: $.getView().close();) the app crashes without any errorMessage in the console.

Expected Result

The controller should be closed. The app should shut down.

Attachments

FileDateSize
.log2015-12-17T07:29:12.000+00006484747
demoapp.zip2015-12-17T07:29:12.000+00001261
diagnostic7426290897126324166.log2015-12-17T07:29:12.000+0000101014

Comments

  1. dbenhenni 2015-12-17 I am not able to switch status of original ticket TC-5779 to reopen. Please take a look at the comment from another user julian buss. He was able to reproduce the bug and to offer some sample code.
  2. Julian Buss 2015-12-17 I can clearly reproduce with the demoapp attached (only app/controller and app/view folders). Tested with most recent SDK 5.1.1. Steps to reproduce: * create a new Alloy app * copy app/controller and app/view folders from the demoapp.zip to your app * start app on iPad simulator * index.xml opens jbtest.xml automatically, now click on "schlie├čen" button in the upper left -> the window closes and the index window is visible * now start the app again, click in the searchbar so that the searchbar has focus, now click the button "Schlie├čen" -> app crashes
  3. dbenhenni 2016-02-09 Any updates regarding this issue?
  4. Feon Sua Xin Miao 2016-02-09 This should be resolved by TIMOB-20213.
  5. Feon Sua Xin Miao 2016-02-10 Fixed in SDK: 6.0.0.v20160209135749

JSON Source