acts_as_tree icon indicating copy to clipboard operation
acts_as_tree copied to clipboard

While loops have no recursion protection

Open bigfive opened this issue 13 years ago • 1 comments

If a page has one of its children defined as its parent, the methods 'root' and 'ancestors' will cause a time out. Perhaps add error handling for if a node has already been in the loop, or just a limit to the number of levels to traverse.

bigfive avatar Jun 11 '12 02:06 bigfive

This still seems to be the case. Any update here?

jmuheim avatar Jan 15 '16 12:01 jmuheim