telerik / kendo-ui-core

An HTML5, jQuery-based widget library for building modern web apps.
http://www.telerik.com/kendo-ui
Other
2.54k stars 1.91k forks source link

TreeView nodes duplicated indexes after filtering #4505

Open IvanDanchev opened 6 years ago

IvanDanchev commented 6 years ago

Bug report

Reproduction of the problem

Dojo example (provided in ticket id: 1342161)

  1. Press the "Dump (using data property)" button => the indexes of the dataItems in dataSource.data() are logged.
  2. Focus on the textbox and enter "i".
  3. Press the "Dump (using data property)" button again

Current behavior

"Inbox" and "Search Folders" both have index 1

Expected/desired behavior

Indexes are updated accordingly.

Environment

alexandrejobin commented 6 years ago

The bug is not only on filtering, it it also on drag & drop.

  1. Press the "Dump (using data property)"
  2. drag an item and change his position
  3. Press the "Dump (using data property" and you will have some items with the same index
IvanDanchev commented 4 years ago

Also reported in Ticket ID: 1445821, specifically for drag & drop scenarios. Raising priority.

infornite commented 4 years ago

Any update on this. Its a Medium Priority Severity 1 Issue that been opened for nearly 2 years.