ltree_hierarchy icon indicating copy to clipboard operation
ltree_hierarchy copied to clipboard

Possible error with cascade_path_change?

Open idyll opened this issue 9 years ago • 3 comments

We have a situation where children can be input before their parents on a tree structure.

It seems that when the parent is added there are issues updating the children. We noticed this because the children count was higher than the descendants. And then looking at the path we determined that one of the children had a bad path:

(15.11.19 instead of 12.15.11.19).

Any thoughts on this?

We're looking to replicate this and will submit a PR with a fix once we find the cause.

I was hoping someone else might have see it too...

idyll avatar Nov 17 '15 22:11 idyll

Thank you @idyll. I will try to look into this as soon as possible. Patch or at least failing spec is more than welcome, though! :)

tomekw avatar Nov 23 '15 07:11 tomekw

I will try to get a failing spec to you sometime this week. Last week got away from me.

idyll avatar Nov 30 '15 13:11 idyll

Same here, I totally forgot about this!

tomekw avatar Nov 30 '15 13:11 tomekw