Ext version tested:

  • Ext 4.2.1 rev 883 --> OK (NO WARNING)

  • Ext 4.2.2 rev 1144 --> OK (NO WARNING)

  • Ext 4.2.3 rev 1386 (Nightly beta) --> SHOWS THE WARNING

  • Ext 5.0.0 beta --> SHOWS THE WARNING


Browser versions tested against: Description:

If I close a Tab in which I showed the LoadMask, it generates a Warning because it cannot destroy the LoadMask (as it cannot find it in the children).

This is the warning message:

Attempted to remove a component that does not exist. Ext.container.Container: remove takes an argument of the component to remove. cmp.remove() is incorrect usage.


It happens with ExtJS 4.2.3 (nigthly) and with 5.0.0 beta; with ExtJS 4.2.1 and 4.2.2 it did not happen (but they have a different management of the LoadMask as they always create and destroy the LoadMask object).


Steps to reproduce the problem:

See an example in the Fiddle:

1) Click "Add Tab"

2) Click "Show LoadMask"

3) Optionally click "Hide LoadMask" (it does not change the behaviour)

4) Close the Tab

5) Look at the Console for the Warning


Note that the LoadMask seems to be destroyed (no memory leaks should occur), it just shows the warning.


Original post here:

http://ift.tt/1eEiFGB