Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-24870] Android: Reopening a closed window causes all components in the window to be lost

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionFixed
Resolution Date2017-06-22T01:45:23.000+0000
Affected Version/sRelease 6.1.1
Fix Version/sRelease 6.1.1
ComponentsAndroid
Labelsn/a
ReporterMuhammad Ahmed Fahad
AssigneeGary Mathews
Created2017-06-21T04:20:03.000+0000
Updated2017-06-25T06:25:56.000+0000

Description

Comments

  1. Gary Mathews 2017-06-21

    master: https://github.com/appcelerator/titanium_mobile/pull/9169 6_1_X: https://github.com/appcelerator/titanium_mobile/pull/9170
  2. Abir Mukherjee 2017-06-22

    Passed FR with this environment: Node Version: 6.10.3 NPM Version: 3.10.10 Mac OS: 10.12.4 Appc CLI: 6.2.2 Appc CLI NPM: 4.2.9 Titanium SDK version: 6.1.X locally built from PR/9170 Appcelerator Studio, build: 4.9.0.201705302345 Xcode 8.3.2 I first reproduce the bug on SDK 6.1.0. Tapping on the blue window turned red. Next, tapping on the red window caused the app to crash. Then I tried the demo app with the proposed fix, and found that when tapping on the window alternates between the blue window and red window with no errors. FR passed.
  3. Abir Mukherjee 2017-06-22

    Fixes appear in these builds: 6.1.1.v20170621181735 6.2.0.v20170622013245 Closing ticket.
  4. Ben Bahrenburg 2017-06-25

    [~gmathews] if the childviews are not cleaned up on close. Would this cause a leak in scenarios where there is no re-use of the window, ie closed with an expectation the contents would be destroyed.

JSON Source