Opened 10 years ago

Closed 10 years ago

#10460 closed defect (fixed)

[regression] TabContainer: this._currentChild.id failure on deleting last tab

Reported by: Avachan Owned by: bill
Priority: high Milestone: 1.4
Component: Dijit Version: 1.4.0b
Keywords: Cc:
Blocked By: Blocking:

Description (last modified by bill)

When I close the last Child of a TabContainer the !InternetExplorer7 throws the Error:

'this._currentChild.id' ist Null oder kein Objekt
'this._currentChild.id' is null or no object ((free translated))

In version 1.3.2 everything goes perfect. Till I update to 1.4.0rc* the Error would be thrown.

The Error do not thrown if I write in line 96 of dijit.layout.StackController?

if (this._currentChild) var b=this.pane2button[this._currentChild.id];

where

var b=this.pane2button[this._currentChild.id];

then everything I tested works perfekt.

In not shrinked Version it is Line 177 wich I change.

I work with Version 1.4.0rc2 at this moment.

Change History (2)

comment:1 Changed 10 years ago by bill

Description: modified (diff)
Owner: set to bill
Status: newassigned
Summary: dijit.layout.TabContainer - this._currentChild.id - Failure[regression] TabContainer: this._currentChild.id failure on deleting last tab

Thanks for the report, I'll fix. It's a problem from [19970] in the part that "convert pane2button[] and pane2handles[] key to be pane id (a string) instead of pane itself (an Object)".

comment:2 Changed 10 years ago by bill

Resolution: fixed
Status: assignedclosed

(In [20946]) Fix exception on deleting last tab, fixes #10460 !strict (regression from [19970]).

Note: See TracTickets for help on using tickets.