[ALOY-1344] App crash on controller.close when the searchBar has focus
| GitHub Issue | n/a |
| Type | Bug |
| Priority | Critical |
| Status | Resolved |
| Resolution | Not Our Bug |
| Resolution Date | 2016-02-10T00:28:24.000+0000 |
| Affected Version/s | alloy 1.7.30 |
| Fix Version/s | n/a |
| Components | n/a |
| Labels | supportTeam |
| Reporter | dbenhenni |
| Assignee | Feon Sua Xin Miao |
| Created | 2015-12-17T07:29:11.000+0000 |
| Updated | 2016-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
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.
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
Any updates regarding this issue?
This should be resolved by TIMOB-20213.
Fixed in SDK: 6.0.0.v20160209135749