Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-20213] iOS: app crash when closing the active window while searchbar in listview is focused

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionFixed
Resolution Date2016-02-10T05:06:54.000+0000
Affected Version/sn/a
Fix Version/sRelease 5.2.0
ComponentsiOS
Labelsn/a
ReporterFeon Sua Xin Miao
AssigneeSrikanth Sombhatla
Created2016-01-08T01:25:00.000+0000
Updated2016-02-10T05:07:44.000+0000

Description

Steps to Reproduce

1. Create a titanium app 2. Replace app.js with the attached file 3. Run the app on iOS sim 4. Click _Open New Win_ to open the window 5. Click _Click to Close_ to close the window, app does not crash 6. Do step 4, then click on the search bar 7. With the search bar focused, click _Click to Close_, the app crashes

Actual Result

On iOS, the window is closed, follow by app crashes.

Expected Result

The window should be closed without crashing the app.

Attachments

FileDateSize
app.js2016-01-08T01:24:34.000+00001444

Comments

  1. Srikanth Sombhatla 2016-01-11

    PR https://github.com/appcelerator/titanium_mobile/pull/7624 Use the ticket attached app.js to verify the fix.
  2. Srikanth Sombhatla 2016-01-12

    [~apetkov], addressed comment in PR.
  3. Feon Sua Xin Miao 2016-02-10

    Could this be back-ported to 5.2.0?
  4. Srikanth Sombhatla 2016-02-10

    [~apetkov] Please review and merge this back port for 5.2.0 https://github.com/appcelerator/titanium_mobile/pull/7695

JSON Source