REQUIRED INFORMATION

Ext version tested:




Browser versions tested against:


  • IE 11.0.12

  • FF 32.0.2, firebug 2.0.4

  • Opera 12.17

  • Chrome 37.0.2062.120

  • Safari 5.1.7


DOCTYPE tested against:


Description:



  • Deleting of a node in the tree reports an error in the console.

  • After deleting of a node, the collapsing and expanding of other nodes stops working.

  • After deleting of a node, adding new nodes does noit work any more.

  • The tree panel has the unnecessary horizontal scroll bar in the classic theme. In other themes, the bar is not there.




Case 1: Deleting of a node in the tree reports an error in the console.

Steps to reproduce the problem:



  • go to the fiddle http://ift.tt/1A3BrGM with Firefox and Firebug

  • restart the application, to clean it from the possible previous tests

  • select the node 'Folder 3'

  • push the button 'Delete using nodes[i].remove(true)', we use the approach - call the remove method of the node to be deleted

  • see the console of the firebug, the error "NetworkError: 404 Not Found - http://ift.tt/1DQuu8A" comes.

  • In the ExtJS 4.2.x, it worked well.


Case 2: After deleting of a node, the collapsing and expanding of other nodes stops working.


Steps to reproduce the problem:



  • go to the fiddle http://ift.tt/1A3BrGM with Firefox and Firebug

  • restart the application, to clean it from the possible previous tests

  • select the node 'Folder 3'.

  • push the button 'Delete using store.remove(nodes)', we use the approach - remove the node by calling store.remove(nodes).

  • The node 'Folder 3' disappears correctly.

  • Now, try to collapse and expand the node 'Folder 2'. It does not work anymore!

  • In the ExtJS 4.2.x, it worked well.


Case 3: After deleting of a node, adding new nodes does noit work any more.


Steps to reproduce the problem:



  • go to the fiddle http://ift.tt/1A3BrGM with Firefox and Firebug

  • restart the application, to clean it from the possible previous tests

  • push the button 'Delete old node, add new node'. The action should delete the node 'Child 2.2' and add a new node 'New Child'

  • The node 'Child 2.2' disappears correctly, but the new node 'New Child' appears in the wrong place above the Root node.

  • In the ExtJS 4.2.x, it worked well.

  • Just adding a new node without previous removing works well.

  • It looks like the deletion of a node messes up something internally in the tree and tree store.




Case 4:
The tree panel has the unnecessary horizontal scroll bar in the classic theme. In other themes, the bar is not there.

Steps to reproduce the problem:



  • go to the fiddle http://ift.tt/1A3BrGM with Firefox and Firebug.

  • restart the application, to clean it from the possible previous tests.

  • You will see the horizontal scroll bar that is not necessary, there is enough space.

  • Change the theme to other than classic one, the scroll bar does not appear.


HELPFUL INFORMATION


See this URL for live test case: http://ift.tt/1A3BrGM


Debugging already done:


Possible fix: