Titanium JIRA Archive
Appcelerator Community (AC)

[AC-5268] Disregard issue fixed....iOS: App Crashes A view can only be associated with at most one view controller at a time! View

GitHub Issuen/a
TypeBug
Priorityn/a
StatusResolved
ResolutionNot Our Bug
Resolution Date2017-10-12T15:41:03.000+0000
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
Labelsn/a
ReporterGhassan
AssigneeShak Hossain
Created2017-10-11T14:14:41.000+0000
Updated2017-10-12T15:41:03.000+0000

Description

Steps to Reproduce

This has been reported in the past as TIMOB-11986 and appraently resurfaced in latest SDK

Actual Result

crash with Application Error

Expected Result

no crash

Attachments

FileDateSize
.log2017-10-11T14:14:43.000+0000466154
diagnostic8977394721440007616.log2017-10-11T14:14:51.000+0000111431

Comments

  1. Ghassan 2017-10-11

    Problem was caused by a helper function added at end of Controller:
       
       $.cleanup = function cleanup(){
       
       problem_controller = null; //////This was the cause of the problem as that controller was created by another controller
       $.win.close();
       };
       
       $win.addEventListener('close', $.cleanup);
       
  2. Hans Knöchel 2017-10-12

    Thanks [~safadig], so we can close this one?
  3. Sharif AbuDarda 2017-10-12

    Hello, Let us know the full environment configuration where it is regeneratable and also send a full reproducible code. I will forward the info to the old ticket and reopen it for farther investigation. This one will be closed. Thanks.

JSON Source