On changing parent of an element, the elements get updated down the tree #116

Closed
oliverrauscher opened this Issue Dec 28, 2012 · 1 comment

Comments

Projects
None yet
1 participant

Whenever I update an element's parent, ancestry updates the elements down the tree (instead of starting at the root). Is there a way to change this behaviour?

Let me explane, why this is important to me.

I have a nested list of elements with an attribut that needs to get updated whenever the element is saved (by after_save callback). The callback method that is called here also walks down the tree to collect information about the path and updates one collumn.

Now, when changing the parent of an element, ancestry updates the parents after updating the own element which causes wrong information for the callback method.

Thank you!

I just closed it because I found a workaround.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment