Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-20600] Windows: close window throws unknown exception

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionFixed
Resolution Date2016-03-22T13:37:32.000+0000
Affected Version/sRelease 5.2.0
Fix Version/sRelease 5.3.0
ComponentsWindows
Labelsclose, window, windows_phone
ReporterZakhar Zhuravlev
AssigneeKota Iguchi
Created2016-03-18T13:25:57.000+0000
Updated2016-04-12T20:43:21.000+0000

Description

It's affected 5.2.0. Use case (working on ios/android): Window_1 opens Window_2 -> Window_2 opens Window_3 -> Window_3 closes Window_2 -> App throws unknown exception. *index.js:*
function onClick(e) {
    var c = Alloy.createController('second', {
    	prevWin: $.win
    }); 
    var w = c.getView();
    w.open();
}
$.win.open();
*index.xml:* {noformat}

Comments

  1. Harry Bryant 2016-04-12

    Verified as fixed, close window no longer throws unknown exception. Tested on: Windows 10 Home & Pro Windows Phone 10.0 & 8.1 (Microsoft Lumia 640 LTE) Appc Studio: 4.6.0.201604081249 Ti SDK: 5.3.0.v20160411203046 Appc NPM: 4.2.5-1 Appc Core: 5.3.0-12 Node: v4.4.2 *Closing Ticket.*

JSON Source