You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To work around this, you could try to either put the node_hierarchies table into fixtures as well, or call Node.rebuild! after fixtures are loaded but before tests are run.
In
rails test
, the following test code causes an error:SystemStackError: stack level too deep
.Node (class of the node) has closure tree as below.
It seems that the following conditions are needed to reproduce this error:
I have made a repository for this issue. To reproduce this error on this repository, please execute
rails test
command.Repository: https://github.com/wakairo/issue-closure_tree-error_on_update
The text was updated successfully, but these errors were encountered: