Bug reports Found a bug? Post it here please.
Version 4.x > Bug reports > Node Deletion Order Problem View modes: 
User avatar
Member
Member
ganniazz-hotmail - 7/28/2009 4:29:07 AM
   
Node Deletion Order Problem
Hi,

I have a problem when deleting nodes. Once a node has been deleted, the node ordering is skewed.

For Example if I delete the node with node order 4 the ordering remians: 1 2 3 5 6 .... etc...

However when I then add a new node the node ordering is restored by Kentico.

Is there a way to force the restoration of the node order after a delete.

Thank you in Advance.

User avatar
Kentico Developer
Kentico Developer
kentico_zbysekn - 7/28/2009 2:12:28 PM
   
RE:Node Deletion Order Problem
Hi,
could you please be more specific. When precisely is node ordering skewed?
In some webpart, administration interface or any other place?
Thanks in advance for more information.
Best Regards,
Zbysek Nemec.

User avatar
Member
Member
ganniazz-hotmail - 7/29/2009 3:04:17 AM
   
RE:Node Deletion Order Problem
Hi,

Thank you for your reply.

Sorry for not giving enough information. I have created a module which manipulates the nodes through the code. The user may add, edit and delete the nodes as is required. When a user adds a node the node order is mantained however when I delete a document using DocumentHelper the node order is not mantained.

Thank you in Advance.

User avatar
Kentico Developer
Kentico Developer
kentico_martind - 8/3/2009 10:40:17 AM
   
RE:Node Deletion Order Problem
Hello,

This is correct behavior. It doesn't have any negative impact on functionality as the order of the nodes remains the same even if you delete any node (when you add new node the order is corrected as you already mentioned) and it would have negative impact on performance if it would change the order of all nodes after deletion.

Best Regards,

Martin Dobsicek