Cutting and pasting seems to sometimes result in FK violations that can destroy whole branches of cutted nodes
Create a couple of nodes in a row, e.g. start > test 1 > test 2 > test 3
cut or copy test 1 (including the others as they are belonging to test 1)
paste test 1 again to the start node
refresh page
Result: Often the last nodes (in this case test 3) disappear and in the logs a foreign key violation appears. It seems to start only when hitting the third level of descendants.
QueryFailedError: insert or update on table "mmp_node" violates foreign key constraint "FK_336300b82c56a05f0317f229420"
Describe the bug
Cutting and pasting seems to sometimes result in FK violations that can destroy whole branches of cutted nodes